修改快捷键的加载方式

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.coc')
require('Plugin.lualine') require('Plugin.lualine')
require('Plugin.treesitter') -- require('Plugin.treesitter')
require('Plugin.Imchange') require('Plugin.Imchange')

View File

@ -54,7 +54,7 @@ G.map({
--NvimTree --NvimTree
G.map({ 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', 'vijaymarupudi/nvim-fzf',
-- nerdtree -- nerdtree
{
'preservim/nerdtree', 'preservim/nerdtree',
dependencies = {
'Xuyuanp/nerdtree-git-plugin', 'Xuyuanp/nerdtree-git-plugin',
'ryanoasis/vim-devicons', 'ryanoasis/vim-devicons',
},
cmd = 'NERDTreeToggle',
},
}) })