Vim / macvim osx plugins 10.7.4

Could you help me get plugins that work for both macvim and vim terminal?

What I have tried so far:

On the desktop I git clone https://github.com/scrooloose/nerdtree.git. I tried to put the files in ~/.vimwhere I created a folder called bundle and placed the nerdtree file there.

Alternatively, I went to /usr/share/vim/vim73and put all the files in the appropriate folders. Using this method really works for NERDTree in the vim terminal, however it is not for other plugins.

Still unlucky for this to work. Help is appreciated.

+5
source share
4 answers

NERD_tree install details:

  • Unzip the archive to the ~ / .vim directory.
  • NERD_tree.vim ~/.vim/plugin NERD_tree.txt ~/.vim/doc.

~/.vim :

.vim/
β”œβ”€β”€ doc
β”‚   β”œβ”€β”€ NERD_tree.txt
β”‚   └── tags
β”œβ”€β”€ nerdtree_plugin
β”‚   β”œβ”€β”€ exec_menuitem.vim
β”‚   └── fs_menu.vim
β”œβ”€β”€ plugin
β”‚   └── NERD_tree.vim
└── syntax
    └── nerdtree.vim
+5

. , . . nerdtree, , git pull .

.vimrc

call pathogen#infect()

nerdtree ..

~/.vim/bundle

, !

+5

I believe this should be in: ~ / .vim / plugin / ...

C: http://vim.runpaint.org/extending/extending-vim-with-scripts-plugins/

0
source

I think the best solution is to make

  git clone https://github.com/scrooloose/nerdtree.git ~/.vim/

So, you can be sure that the plugin is in the right folder, otherwise git create the nerdtree folder for you, and you must transfer the contents of nertrees to your ~ / .vim /

0
source

All Articles