VIM設定_vimrc

bluesad發表於2007-09-17

" by zyx 2006-09-02 13:36 Saturday
set nocompatible
set magic
set ru "標尺資訊
set ai
set sw=4
set ts=4
set dy=lastline "顯示最多行,不用@@
"以上是縮排相關
set backspace=indent,eol,start
colo evening
sy on
set go= "無選單、工具欄
set nobackup
set hlsearch
set showmatch
"tab mappings
map 1gt
map 2gt
map 3gt
map 4gt
map 5gt
map 6gt
map 7gt
map 8gt
map 9gt
map :tabnew
map :tabclose
map! 1gt
map! 2gt
map! 3gt
map! 4gt
map! 5gt
map! 6gt
map! 7gt
map! 8gt
map! 9gt
map! :tabnew
map! :tabclose

" Use CTRL-S for saving, also in Insert mode
noremap :update
vnoremap :update
inoremap :update
"2006-09-13 如下:儲存檢視
au BufWinLeave *.ztx mkview
au BufWinEnter *.ztx silent loadview
au BufNewFile,BufRead *.tx1 setf tx1

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/797975/viewspace-969773/,如需轉載,請註明出處,否則將追究法律責任。

相關文章