由于,觉得用textmate还是不大习惯,所以,还是决定把macvim安装上,首先,在安装之前,我们现查看一下vim包的variants。
ApplematoMacBook-Pro:~ Apple$ port variants vim
vim has the 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
ApplematoMacBook-Pro:~ Apple$ sudo port -v install vim +huge +nls +perl +ruby +python26