I am new to vim, I watched this video and wish to give it a good try for a month to see how I like it.
I want to add the NERDTree plugin to my vim, I'm actually using NeoVIM:
NVIM v0.4.4
Build type: Release
LuaJIT 2.0.5
I Googled and found this article. It seemed straightforward but when I followed the steps, it doesn't seem to work for me, so I guess I'm missing something.
~|⇒ ls ~/.vim/pack/vendor/start
nerdtree
~|⇒ ls -l ~/.vim/pack/vendor/start/nerdtree
total 164
drwxr-xr-x 3 jwan jwan 4096 Feb 21 11:29 autoload
-rw-r--r-- 1 jwan jwan 30828 Feb 21 11:29 CHANGELOG.md
-rw-r--r-- 1 jwan jwan 26 Feb 21 11:29 _config.yml
drwxr-xr-x 2 jwan jwan 4096 Feb 21 11:29 doc
drwxr-xr-x 3 jwan jwan 4096 Feb 21 11:29 lib
-rw-r--r-- 1 jwan jwan 474 Feb 21 11:29 LICENCE
drwxr-xr-x 2 jwan jwan 4096 Feb 21 11:29 nerdtree_plugin
drwxr-xr-x 2 jwan jwan 4096 Feb 21 11:29 plugin
-rw-r--r-- 1 jwan jwan 8429 Feb 21 11:29 README.markdown
-rw-r--r-- 1 jwan jwan 87896 Feb 21 11:29 screenshot.png
drwxr-xr-x 2 jwan jwan 4096 Feb 21 11:29 syntax
According to the article, that should be all that I have to do! The article says:
Now you can place Vim plugins in ~/.vim/pack/vendor/start, and they'll automatically load when you launch Vim.
That doesn't seem to happen for me! When I have vim open and I type :NERDTree
I just get:
E492: Not an editor command: NERDTree
What am I missing?
start
and:NERDTree
is available, maybe check:messages
for any error message.:messages
, also check if:scriptnames
mentions NERDTree:help standard-path
. Also:help vim-differences
.