I installed Vim in Fedora 16 with this command:
$ yum -y install vim-enhanced
Vim works just fine, but now I wanted to add the NERD Commenter and NERD Tree plugins. In the home directory I cant find neither .vim/ nor .vimrc. So I went ahead and created those but still it’s not picking it up.
How do you install Vim plugins in Fedora?
You have to create
~/.vimrcand~/.vim/yourself.After that simply follow each plugin’s installation instructions.
For NERDTree (from the plugin’s page):
After all that, you are supposed to end up with this structure:
Which is all you need to use NERDTree:
Did you try the “built-in”
netrw, invoked with:Ex(:Hex,:Sex,:Vex…), before deciding to install NERDTree?