On Mon, Jan 18, 2010 at 10:45 PM, gaoxt1983 wrote:
>
> There is a situation I must use a source-compiled vim, so I downloaded vim72
> and run configure , make, make install. But I want to use nerdtree plugin,
> when I copy the files into .vim directory, restart vim, it gives me error
> message like this:
>
> Error detected while processing
> /home/huanghao/.vim/nerdtree_plugin/exec_menuitem.vim:
> line 18:
> E15: Invalid expression:
> Press ENTER or type command to continue
> Error detected while processing
> /home/huanghao/.vim/nerdtree_plugin/exec_menuitem.vim:
> line 18:
> E116: Invalid arguments for function NERDTreeAddMenuItem
> Press ENTER or type command to continue
> Error detected while processing
> /home/huanghao/.vim/nerdtree_plugin/exec_menuitem.vim:
> line 19:
> E10: \ should be followed by /, ? or &
> Press ENTER or type command to continue
> Error detected while processing
> /home/huanghao/.vim/nerdtree_plugin/exec_menuitem.vim:
> line 20:
> E10: \ should be followed by /, ? or &

Your vim is running in vi-compatible mode.  Fixing this should be as easy as

    echo "set compatible" >>~/.vimrc

~Matt
-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to