VIM 設定檔
set cindent
set nu
set smartindent
map <F5> :bp<CR> " 前一個 buffer 檔案
map <F6> :bn<CR> " 下一個 buffer 檔案
set softtabstop=4
set shiftwidth=4
set backup
set backupdir=~/MyTMP/vim_bak/
" 將註解由深藍色變綠色
" " hi Comment ctermfg=Green
" " 搜尋到的字加 hilight
set hlsearch
"
" " 將註解由深藍色變淺藍色
highlight Comment ctermfg=darkcyan
highlight Search term=reverse ctermbg=4 ctermfg=7
" highlight Normal ctermbg=black ctermfg=white
" 超過行寬不跳行顯示
set nowrap
沒有留言:
張貼留言