switched to lazy.nvim and clean up a bit
This commit is contained in:
1 parent
72bf7e727a
commit
11bb713b60
19 files changed
+290
-331
No files matched your search
@@ -0,0 +1,32 @@
|
||||
return {
|
||||
{
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
branch = "v2.x",
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'kyazdani42/nvim-web-devicons',
|
||||
'MunifTanjim/nui.nvim'
|
||||
},
|
||||
config = function()
|
||||
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]
|
||||
require('neo-tree').setup {
|
||||
close_if_last_window = true,
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = true,
|
||||
},
|
||||
},
|
||||
window = {
|
||||
width = 25,
|
||||
mappings = {
|
||||
["e"] = "none",
|
||||
["j"] = "toggle_auto_expand_width",
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
local u = require 'config.utils'.mapping
|
||||
u.cmd('<leader>e', 'Neotree toggle')
|
||||
end
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user