I'd like to create an abbreviation for NERDTree on the command-line. I find it annoying have to write :NERDTree every time I want to enable it. So I'd like to type :nr or something like that. Is that possible?
:NERDTree
:nr
In my .vimrc I have:
.vimrc
let mapleader = "," nmap <leader>ne :NERDTree<cr>
So when I need NERDTree I just write ,ne in normal mode.
,ne
2.1m questions
2.1m answers
60 comments
57.0k users