1
0
Fork 0

Add <space>tt for open tree and tr to refresh tree file

This commit is contained in:
Florian RICHER 2021-06-18 15:35:19 +02:00
parent b0365310b7
commit 52e2648a79
2 changed files with 18 additions and 13 deletions

View file

@ -48,4 +48,7 @@ nnoremap <leader>fg <cmd>Telescope live_grep<cr>
nnoremap <leader>fb <cmd>Telescope buffers<cr>
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
" NvimTreeToggle
nnoremap <leader>tt :NvimTreeToggle<cr>
nnoremap <leader>tr :NvimTreeRefresh<cr>

View file

@ -29,6 +29,8 @@ require('packer').startup(function()
use {'nvim-treesitter/nvim-treesitter'}
use 'kyazdani42/nvim-web-devicons' -- removing this line doesn't change the error
use 'kyazdani42/nvim-tree.lua'
end)