step1. 在路徑 /etc 或是 /etc/vim 資料夾內尋找 vimrc檔案 step2. 指令 vi vimrc step3. 增加 set tabstop=4 存檔,重新打開 Terminal 就完成了。