Toggle the NERDTree Vim Plugin with a key binding
Typing out :NERDTreeToggle to toggle the NERDTree plugin in VIM is a pain. Adding the following line to your ~/.vimrc file will allow you to toggle the plugin using the F4 key instead.
nnoremap <F4> :NERDTreeToggle<CR>