I noticed that you are using inoremap
, which only binds Ce in Insert mode.
I tried my way on my VIM installation, and indeed, it will type :NERDTreeToggle
in insert mode when you press Ce. In normal mode, there is no effect.
If this is an error, try changing to:
nnoremap <Ce> :NERDTreeToggle<CR>
I added it to .vimrc
- it works great. In addition, if you are still facing a problem, try another hotkey, you may encounter other connections.
source share