cd /usr/ports/editor/vim make -DWITH_PYTHON 即可编译出支持Python的VIM rehash 在vim中输入 :version 可以看到+python的信息,即表示支持Python了.