據我瞭解,你可以直接從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