主要是每次重装了系统都得配置,记录一下。
vim 的配置:
syntax on
set nuset nobackupset cindentset fileencodings=utf-8,gbk,ucs-bom,cp936set incsearch ” Incremental searchset cursorline
lftp的配置添加:
set dns:order “inet6 inet”debug 3 #可以显示详细的交互过程
set ftp:char
set GBKset file:char
set UTF-8alias gbk “
set ftp:char
set gbk;
set file:char
set UTF-8”alias utf8 “
set ftp:char
set UTF-8;
set file:char
set UTF-8”
ssh配置: ~/.ssh/config
host *ControlMaster autoControlPath ~/.ssh/%r@%h:%pControlPersist yes
/etc/ssh/ssh_config
ServerAliveInterval 10