Refine vimrc.
This commit is contained in:
12
vimrc
12
vimrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user