方式1:
portsnap extract
portsnap fetch update
whereis vim
/usr/ports/editors/vim
cd /usr/ports/editors/vim
make install clean
cp /usr/local/share/vim/vim73/vimrc_example.vim /usr/local/share/vim/vimrc
方式2:
pkg_add -r vim-lite
cp /usr/local/share/vim/vim73/vimrc_example.vim /usr/local/share/vim/vimrc
阅读(546) | 评论(0) | 转发(0) |