先sudo vim /etc/vim/vimrc
然后加入
set nu
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
inoremap ( ()<ESC>i
inoremap [ []<ESC>i
inoremap { {<CR>}<ESC>O
inoremap " ""<ESC>i
inoremap ‘ ‘‘<ESC>i
colorscheme peachpuff
标签:mrc logs indent each div auto sch width gpo
先sudo vim /etc/vim/vimrc
然后加入
set nu
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
inoremap ( ()<ESC>i
inoremap [ []<ESC>i
inoremap { {<CR>}<ESC>O
inoremap " ""<ESC>i
inoremap ‘ ‘‘<ESC>i
colorscheme peachpuff
标签:mrc logs indent each div auto sch width gpo
原文地址:https://www.cnblogs.com/poorpool/p/8321933.html