文章

vim配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
set number
set mouse=a
set selection=exclusive
set selectmode=mouse,key
set showmatch
set tabstop=4
set shiftwidth=4
set autoindent
set paste
set listchars=tab:>-,trail:-
set laststatus=2
set ruler
filetype plugin indent on
autocmd BufWritePost $MYVIMRC source $MYVIMRC
本文由作者按照 CC BY 4.0 进行授权