FreeBSD 7.2下vim的安装

安装VIM有两个方法
一个是运行下面命令
# pkg_add -r -v vim-lite

另一个是使用FreeBSD Ports System
# cd /usr/ports/editors/vim-lite/
# make install clean

可选择性
vi ~/.profile
运行命令 让vi等于vim
alias vi=’vim’


设置vimrc 文件
cp /usr/local/share/vim/vim72/vimrc_example.vim /usr/local/share/vim/vimrc

或者到个人的环境中
保存为 ~/.vimrc

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s