vim与gedit Tab键只让它跳四格
简介:
1、vim跳四格
# vim /etc/vimrc
" Encoding relatedset encoding=UTF-8set langmenu=zh_CN.
# vim /etc/vimrc
- " Encoding related
set encoding=UTF-8
set langmenu=zh_CN.UTF-8
language message zh_CN.UTF-8
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
set fileencoding=utf-8
- set tabstop =4
# source /etc/vimrc
效果图:
2、gedit tab键设置
效果图