据我了解,你可以直接从MacVim用NERDTree插件添加文件。我浏览到NERDtree和在这篇文章中描述打到“M”调出NERDTree文件系统菜单:vim and NERD Tree extension - adding a fileNERDTree vim插件,试图添加文件没有成功
的问题是,我得到这个输出调用“M”后:
NERDTree Menu. Use j/k/enter and the shortcuts indicated
==========================================================
Error detected while processing function <SNR>14_showMenu..30..31:
line 4:
E716: Key not present in Dictionary: menuItems)-1)
E116: Invalid arguments for function len(self.menuItems)-1)
E116: Invalid arguments for function range(0, len(self.menuItems)-1)
E15: Invalid expression: range(0, len(self.menuItems)-1)
Press ENTER or type command to continue
看来你使用旧的vim或nerdtree版本... – 2010-08-02 23:45:11