vim 绠�鍗曢厤缃�

"鏍规嵁璁剧疆鐨勯『搴忔潵鐚滄祴鎵�鎵撳紑鏂囦欢鐨勭紪鐮�
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
"缁堢鎵�浣跨敤鐨勭紪鐮�
set termencoding=utf-8
"鍐呴儴浣跨敤缂栫爜
set encoding=utf-8

"鎶婂綋鍓嶈鐨勫璧锋牸寮忓簲鐢ㄥ埌涓嬩竴琛�
set autoindent
"灏嗘崲琛岃嚜鍔ㄧ缉杩涜缃垚4涓┖鏍硷紱
set shiftwidth=4
"琛ㄧず涓�涓猼ab閿浉褰撲簬4涓┖鏍奸敭
set tabstop=4
"鑷姩濉厖4涓┖鏍间负tab
set expandtab

"鏄剧ず琛屽彿
set nu

"绮樿创涓嶇缉杩涚殑鏂规硶锛歴et paste
set paste
"浠庝笉澶囦唤
set nobackup
"绂佹鐢熸垚涓存椂鏂囦欢
set noswapfile

"纭VI
set confirm

"鍏抽棴榧犳爣
set mouse -=a

"鏄� 绀� TAB 閿�
"set list

你可能感兴趣的:(vim 绠�鍗曢厤缃�)