Refine vimrc.

This commit is contained in:
Gea-Suan Lin
2011-03-29 15:44:05 +08:00
parent 09b723caee
commit 818d80d69d

12
vimrc
View File

@@ -1,6 +1,3 @@
nmap <Esc>[Z <C-w>W
nmap <Tab> <C-w>w
set background=dark
set cindent set cindent
set cursorline set cursorline
set encoding=utf8 set encoding=utf8
@@ -26,5 +23,14 @@ set t_Co=256
set visualbell set visualbell
set wildmenu set wildmenu
syntax on syntax on
"
" color schema
set background=dark
"
" keybinding
nmap <Esc>[Z <C-w>W
nmap <Tab> <C-w>w
"
" other
au BufNewFile,BufRead *.psgi setf perl au BufNewFile,BufRead *.psgi setf perl
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif