本文分成两部分,前半部分介绍用macports安装terminal版本的vim,后半部分介绍gui版本的MacVim的安装,一般不推荐在macports里面安装vim的gui variants,想象一下编译的时间……
[MacPorts Vim Installation]
MacPorts的Vim 3天前刚刚更新到7.3.3,为了安装最新的版本,我们需要首先更新同步一下macports的port file tree:
安装之前先查看一下这个Vim包的variants:
athena: Build GUI version using Athena widgets
* conflicts with gtk1 gtk2 motif
* requires x11
big: Build big feature set
* conflicts with small tiny
cscope: Enable source code browsing with cscope
gtk1: Build GUI version using GTK 1.x widgets
* conflicts with athena gtk2 motif
* requires x11
gtk2: Build GUI version using GTK 2.x widgets
* conflicts with athena gtk1 motif
* requires x11
huge: Build huge feature set
* conflicts with big small tiny
motif: Build GUI version with Motif widgets
* conflicts with athena gtk1 gtk2
* requires x11
nls: National Language Support
perl: Enable Perl scripting
python: Compatibility variant, requires +python25
* requires python25
python25: Enable Python scripting
* conflicts with python26 python27 python31
python26: Enable Python scripting
* conflicts with python25 python27 python31
python27: Enable Python scripting
* conflicts with python25 python26 python31
python31: Enable Python scripting
* conflicts with python25 python26 python27
ruby: Enable Ruby scripting
small: Build small feature set
* conflicts with tiny
tcl: Enable Tcl scripting
tiny: Build tiny feature set
universal: Build for multiple architectures
x: Compatibility variant, requires +x11
* requires x11
x11: Build CLI version with X support
xim: Build with support for X Input Method
on
on
on
on
on