【发布时间】:2011-03-19 03:53:51
【问题描述】:
据我了解,您可以使用 NERDTree 插件直接从 MacVim 添加文件。我导航到 NERDtree 并按“m”以调出 NERDTree 文件系统菜单,如本文所述:vim and NERD Tree extension - adding a file
问题是,我在调用 '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 版本...