Add <space>tt for open tree and tr to refresh tree file
This commit is contained in:
parent
b0365310b7
commit
52e2648a79
2 changed files with 18 additions and 13 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue