Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 491
element119 Avatar asked Jan 20 '26 23:01

element119


2 Answers

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

$ cd /
$ grep -lr NERDTree .
like image 82
kev Avatar answered Jan 22 '26 19:01

kev


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
like image 23
Benoit Avatar answered Jan 22 '26 19:01

Benoit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!