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>
|
||||
|
||||
|
|
|
@ -12,23 +12,25 @@ vim.cmd [[packadd packer.nvim]]
|
|||
|
||||
|
||||
require('packer').startup(function()
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
use {'dracula/vim'}
|
||||
use {'whatyouhide/vim-gotham'}
|
||||
use {'neovim/nvim-lspconfig'}
|
||||
use {'hrsh7th/nvim-compe'}
|
||||
use {'shaunsingh/moonlight.nvim'}
|
||||
use {'dracula/vim'}
|
||||
use {'whatyouhide/vim-gotham'}
|
||||
use {'neovim/nvim-lspconfig'}
|
||||
use {'hrsh7th/nvim-compe'}
|
||||
use {'shaunsingh/moonlight.nvim'}
|
||||
|
||||
-- Telescope project search
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}
|
||||
}
|
||||
-- Telescope project search
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}
|
||||
}
|
||||
|
||||
use {'nvim-treesitter/nvim-treesitter'}
|
||||
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