Vim 設定tab space

vim ~/.vimrc
#加入下面
set ts=2
# ts => 1個tab佔幾個空格
set sw=2
# sw => 每層縮進的空格數
This entry was posted in Vim. Bookmark the permalink.