vim 的預設 tab 會跳8行, 以下設定可改成跳4行 

不過在寫 Makefile 的時候要注意一下 ( tab 表示執行命令 )

set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
set autoindent

創作者介紹
創作者 ンアハ的記事本 的頭像
allanh

ンアハ的記事本

allanh 發表在 痞客邦 留言(0) 人氣( 272 )