VIM Configuration
上一篇 /
下一篇 2008-05-20 13:23:40
/ 个人分类:应用
"Sets how many lines of history VIM har to rememberset history=400
filetype indent on
"Enable syntax hlsyntax enable
syntax on
"Set 7 lines to the curors - when moving vertical..set so=10
"Always show current positionset ruler
"Show line numberset nu
"Ignore case when searching"set ignorecase
set incsearch
"show matching bracetsset showmatch
"Highlight search thingsset hlsearch
"Restore cursor to file position in previous editing sessionset viminfo='10,\"100,:20,%,n~/.viminfo
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
"Turn backup offset nobackup
set nowb
set noswapfile
"set expandtab
set shiftwidth=8
"Auto indent set ai
"Smart indent set si
"C-style indeting set cindent
"Wrap lines set wrap
导入论坛
收藏
分享给好友
管理
举报
TAG: