add neo-tree
This commit is contained in:
parent
d17502e7a0
commit
4ba31e275d
2 changed files with 12 additions and 0 deletions
|
@ -19,4 +19,15 @@ return require('packer').startup(function()
|
||||||
|
|
||||||
-- Git commands from vim
|
-- Git commands from vim
|
||||||
use 'tpope/vim-fugitive'
|
use 'tpope/vim-fugitive'
|
||||||
|
|
||||||
|
-- File browser
|
||||||
|
use {
|
||||||
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
branch = "v2.x",
|
||||||
|
requires = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
}
|
||||||
|
}
|
||||||
end)
|
end)
|
||||||
|
|
1
roles/neovim/files/plugin/neotree.lua
Normal file
1
roles/neovim/files/plugin/neotree.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
vim.api.nvim_set_keymap('n', '<C-e>', ':NeoTreeRevealToggle<CR>', { noremap = true })
|
Reference in a new issue