Update vimrc.
This commit is contained in:
7
vimrc
7
vimrc
@@ -1,13 +1,19 @@
|
|||||||
|
nmap <Esc>[Z <C-w>W
|
||||||
|
nmap <Tab> <C-w>w
|
||||||
set background=dark
|
set background=dark
|
||||||
set cindent
|
set cindent
|
||||||
|
set cursorline
|
||||||
set encoding=utf8
|
set encoding=utf8
|
||||||
set expandtab
|
set expandtab
|
||||||
set fileencoding=utf8
|
set fileencoding=utf8
|
||||||
set fileencodings=ucs-bom,utf8,cp950,latin1
|
set fileencodings=ucs-bom,utf8,cp950,latin1
|
||||||
|
set guifont=Inconsolata:h12
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set incsearch
|
set incsearch
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
set list
|
||||||
|
set listchars=tab:▷⋅,trail:·
|
||||||
set nobomb
|
set nobomb
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set number
|
set number
|
||||||
@@ -20,4 +26,5 @@ set t_Co=256
|
|||||||
set visualbell
|
set visualbell
|
||||||
set wildmenu
|
set wildmenu
|
||||||
syntax on
|
syntax on
|
||||||
|
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