其实,是自己太菜了,在主目录下建一个 vi 的配置文件就万事OK了。
islue@localhost ~
$ locate vimrc
/usr/share/vim/vim71/vimrc_example.vim
islue@localhost ~
$ cp /usr/share/vim/vim71/vimrc_example.vim .vimrc
islue@localhost ~
$ locate vimrc
/usr/share/vim/vim71/vimrc_example.vim
islue@localhost ~
$ cp /usr/share/vim/vim71/vimrc_example.vim .vimrc
[localhost ~]$ cat .ssh/config
Host 192.168.0.100
ProxyCommand ssh 192.168.0.1 "nc %h %p"
192.168.0.100: 内网目标服务器
192.168.0.1: 网关代理服务器