How do you install plugins for MacVim?

12,361

The command is :NERDTree—case does matter, especially since only internal Vim commands can start with a lowercase letter.

If you followed the installation instructions you should be able to do ":help NERD_Tree.txt". If not, do ":helptags ~/.vim/doc".

Share:
12,361

Related videos on Youtube

Closure Cowboy
Author by

Closure Cowboy

Updated on September 17, 2022

Comments

  • Closure Cowboy
    Closure Cowboy over 1 year

    Specifically, I'm trying to install NERDtree. I downloaded the 4.10 package from github, unzipped it into ~/.vim/, and restarted MacVim (version 7.3).

    Typing :nerdtree results in the following error:

    E492: Not an editor command: nerdtree
    

    In terminal, typing:

    cd ~/.vim
    ls -R
    

    Results in:

    Rakefile    doc     nerdtree_plugin plugin
    
    ./doc:
    NERD_tree.txt
    
    ./nerdtree_plugin:
    exec_menuitem.vim   fs_menu.vim
    
    ./plugin:
    NERD_tree.vim
    

    What am I missing?

  • Closure Cowboy
    Closure Cowboy about 13 years
    This was it. Thank you! I had also tried NERDtree, but I never tried it with a capital T. :\