2006-10-24 tab の設定の仕方 Vim 一般のエディタがTabを4文字か8文字で表示することを踏まえると :set ts=4 sw=4 sts=0 か :set ts=8 sw=4 sts=4 という設定が必要になります。