vim 7.2 on SUNOS10 and nerdtree

226 views
Skip to first unread message

Jean-Luc Pinardon

unread,
Dec 16, 2013, 8:26:32 AM12/16/13
to vim...@googlegroups.com
Dear all,

I am new with vim plugins.
I just have downloaded the nerdtree one from its git repository onto a ~/.vim/plugin directory.
Then, I have moved the NERD_tree.vim file from the ~/.vim/plugin/nerdtree-master directory up to ~/.vim/plugin.

When launching vim I have the following errors :
Error detected while processing ~/.vim/plugin/NERD_tree.vim:
line 68:
E117: Unknown function: nerdtree#runningWindows
E116: Invalid arguments for function <SNR>6_initVariable
line 94:
E117: Unknown function: nerdtree#runningWindows

I think I have missed something when installing, isn't it ?

Thanks for your help

Nikolay Pavlov

unread,
Dec 16, 2013, 1:08:30 PM12/16/13
to vim...@googlegroups.com

Repository also contains files in autoload/, doc/, lib/, nerdtree_plugin/, syntax/ subdirectories. You need all of these directories with threir contents placed into $HOME/.vim.

By the way, does not plugin has installation instructions? I do not think they include "take one file out of many and place it into .vim/plugin".

>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Jostein Elvaker Haande

unread,
Dec 16, 2013, 2:27:08 PM12/16/13
to vim...@googlegroups.com
On 16 December 2013 14:26, Jean-Luc Pinardon <6ber...@gmail.com> wrote:
Dear all,

I am new with vim plugins.
I just have downloaded the nerdtree one from its git repository onto a ~/.vim/plugin directory.
Then, I have moved the NERD_tree.vim file from the ~/.vim/plugin/nerdtree-master directory up to ~/.vim/plugin.

​Hello,

It looks like you are doing it wrong. You can't install this plugin by *only* using that file, as it depends on several other files. You should be using another way to install such plugin, and that's by using something along the lines of pathogen which makes dealing with plugins so much easier.


Good luck!​

--
Yours sincerely Jostein Elvaker Haande
"A free society is a place where it is safe to be unpopular"
- Adlai Stevenson

http://tolecnal.net -- tolecnal at tolecnal dot net

Jean-Luc Pinardon

unread,
Dec 18, 2013, 3:33:57 AM12/18/13
to vim...@googlegroups.com

Great !
Install is OK.
Thanks for your help.

J-L

Reply all
Reply to author
Forward
0 new messages