https://blog.csdn.net/u013595419/article/details/54898490
https://www.cnblogs.com/ma6174/archive/2011/12/10/2283393.html
VIM常用模板设置
vim ~/.vimrc
filetype on
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set showmatch
set paste
syntax enable
set cursorline
set hlsearch
set history=10000
autocmd FileType python setlocal expandtab
if has("autocmd")
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
endif