修改快捷键的加载方式

This commit is contained in:
newbieQQ 2023-05-08 11:30:06 +08:00
parent 1f8e865ae7
commit b651252f41
3 changed files with 11 additions and 6 deletions

View File

@ -5,7 +5,7 @@ require('core.filetype')
require('Plugin.coc')
require('Plugin.lualine')
require('Plugin.treesitter')
-- require('Plugin.treesitter')
require('Plugin.Imchange')

View File

@ -54,7 +54,7 @@ G.map({
--NvimTree
G.map({
{"n", "<c-e>", ":NERDTree<CR>", opt},
{"n", "<c-e>", ":NERDTreeToggle<CR>", opt},
})

View File

@ -56,9 +56,14 @@ require("lazy").setup({
'vijaymarupudi/nvim-fzf',
-- nerdtree
'preservim/nerdtree',
'Xuyuanp/nerdtree-git-plugin',
'ryanoasis/vim-devicons',
{
'preservim/nerdtree',
dependencies = {
'Xuyuanp/nerdtree-git-plugin',
'ryanoasis/vim-devicons',
},
cmd = 'NERDTreeToggle',
},
})