Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
将 OS X 从 Lion 升级到 Mountain Lion 后,每当我打开 R 文件时都会收到以下警告:
Please, set the variable 'g:vimrplugin_term_cmd' in your .vimrc.^@Read the plugin documentation for details.
知道为什么这不起作用吗?Lion 有哪些变化使插件 OS X 无法找到终端?
查看 R Vim 插件文档后,似乎 OS X 上 vimrplugin_term 的默认值与 Mountain Lion 中的默认值不同。
将以下行添加到您的 .vimrc 应该可以解决问题:
let vimrplugin_term = "/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal"