Could you help me get plugins working for either macvim or the terminal vim?
What I have tried thus far:
To the desktop I git clone https://github.com/scrooloose/nerdtree.git
. I have attempted placing the files in ~/.vim
, where I created a folder named bundle and placed file nerdtree in there.
Alternatively I have gone to /usr/share/vim/vim73
and placed all files in the their respective folders.
Using this method does work for NERDTree in the terminal vim, however it does not for other plugins.
Still no luck with getting this to work. Help is appreciated.
NERD_tree
install details:After installing, the ~/.vim
looks like this:
.vim/
├── doc
│ ├── NERD_tree.txt
│ └── tags
├── nerdtree_plugin
│ ├── exec_menuitem.vim
│ └── fs_menu.vim
├── plugin
│ └── NERD_tree.vim
└── syntax
└── nerdtree.vim
I use pathogen. This allows you to put all you plugins in a separate directory making it very easy to manage. E.g. when using nerdtree which you can clone into a folder and do git pull
when there is a update.
Add this to your .vimrc
call pathogen#infect()
then, add nerdtree etc to the folder
~/.vim/bundle
that's all you need to do!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With