2015年3月10日 星期二

[Ubuntu] 編輯 vim

必要安裝:
參考 http://hanmajor.blogspot.tw/2013/10/ubuntuc.html

開啟vimrc:
vim ~/.vimrc

自動縮排
set ai
set shiftwidth=4
set tabstop=4
顯示顏色
syntax on
顯示行數
set number
set smartindent
set autoindent

沒有留言:

張貼留言