heavim/plugins/nerdtree.load.vim
Emmanuel BENOîT be99bfda32
Handle keyboard shortcuts at plugin load time
Don't load plugins based on keyboard shortcuts, as this conflicts with
vim-which-key. Instead, create shortcuts when plugins are declared, and
load them when the commands they provide are used.
2023-06-18 14:04:54 +02:00

6 lines
143 B
VimL

call dein#add('scrooloose/nerdtree', #{
\ lazy: 1,
\ on_cmd: [ 'NERDTree', 'NERDTreeToggle' ],
\ })
nnoremap <Leader>e :NERDTreeToggle<CR>