简体   繁体   中英

Completely remove NERDTree from vim?

Basically, I have NERDTree installed in Vim (Mac OS X 10.7 Lion). I want to completely remove it.

I deleted it's files in ~/.vim/plugins/ and removed all traces of it from my .vimrc , but I'm still getting the following when exploring directories in MacVim:

Error detected while processing function Edit..ChangeDirectory:
line    4:
E492: Not an editor command:   NERDTree   

How can I remove it from my system? I just want to use the stock directory explorer in vim. If need be, I'm willing to completely reinstall vim, I just want NERDTree out.

You can search all files which contains NERDTree , and check them.

$ cd /
$ grep -lr NERDTree .

Those are the files that NERD Tree is made of (Github version from scrooloose):

doc/NERD_tree.txt
nerdtree_plugin/exec_menuitem.vim
nerdtree_plugin/fs_menu.vim
plugin/NERD_tree.vim
syntax/nerdtree.vim

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM