带有 +keymap 选项的 macports vim
我有一台 Mac OS X Lion。还有一个 vim,是从 macports 安装的。不幸的是,它缺少 +keymap 选项。有没有办法可以使用这个附加选项从 macports 安装 vim? 据我所知,ports 获取 vim 源并编译它们。如果是这样,可能有一种方法可以保留 ports 安装过程,从而对 makefile 进行一个小的更改。你认识一个吗?
多谢
I've got a Mac OS X Lion. And there's a vim, that is installed from macports. Unfortunately, it lacks a +keymap option. Is there a way I can install vim from macports with this additional option?
As far as I know, ports fetch vim sources and compile them. If so, there might be a way how to hold on ports installation process to introduce one small change to makefile. Do you know one?
Thanks a lot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Vim 提供了多个功能集,可以通过 MacPorts 中的变体进行选择。正常版本不包括此键盘映射功能,您需要 +big 甚至 +huge。
对于新安装:
或者,要将 +big 变体添加到现有安装:
Vim provides several feature sets, which can be selected by variants in MacPorts. The normal build does not include this keymap feature, you would need +big or even +huge.
For a new install:
Or, to add the +big variant to an existing installation:
另一种选择是仅使用最新 MacVim 版本中的 CLI 可执行文件。我认为它带有这个选项。
Another option would be to just use CLI executable found in the latest MacVim build. I think it comes with this option.