国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

windows-7 - Using cmder under win7, how to set vim tabs to 4 spaces?
黃舟
黃舟 2017-05-16 16:34:15
0
1
1013

cmder is installed under win7 and I can use vim happily, but the tab indentation seems to be 8 spaces.
How to set it to 4 spaces?

黃舟
黃舟

人生最曼妙的風(fēng)景,竟是內(nèi)心的淡定與從容!

reply all(1)
大家講道理

Try adding these lines inside vimrc:

" 對(duì)所有 tab 顯示 4 個(gè)空格
set tabstop=4
" 按下 <TAB> 鍵相當(dāng)于輸入 4 個(gè)空格
set expandtab

This line is optional and has nothing to do with the tab you asked about, but my personal suggestion is to add:

" 用 < 或者 > 調(diào)整縮進(jìn)時(shí),縮進(jìn)四個(gè)空格
set shiftwidth=4
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template