compatibility changes to vimrc
This commit is contained in:
parent
913bfd4545
commit
235f2ec0d9
1 changed files with 7 additions and 6 deletions
13
vimrc
13
vimrc
|
@ -13,7 +13,6 @@ set incsearch
|
||||||
set background=dark
|
set background=dark
|
||||||
set noexpandtab
|
set noexpandtab
|
||||||
set fileencodings=ucs-bom,utf-8,default,latin1
|
set fileencodings=ucs-bom,utf-8,default,latin1
|
||||||
set helplang=en
|
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
||||||
set termencoding=utf-8
|
set termencoding=utf-8
|
||||||
|
@ -27,9 +26,6 @@ set foldmethod=marker
|
||||||
" disable bell
|
" disable bell
|
||||||
set noerrorbells visualbell t_vb=
|
set noerrorbells visualbell t_vb=
|
||||||
|
|
||||||
set list
|
|
||||||
set listchars=tab:\|\ ,trail:*,nbsp:x
|
|
||||||
|
|
||||||
" set indentation options for specific file types
|
" set indentation options for specific file types
|
||||||
autocmd FileType ruby setlocal sts=2 sw=2 expandtab
|
autocmd FileType ruby setlocal sts=2 sw=2 expandtab
|
||||||
autocmd FileType eruby setlocal sts=2 sw=2 expandtab
|
autocmd FileType eruby setlocal sts=2 sw=2 expandtab
|
||||||
|
@ -43,6 +39,11 @@ nmap k gk
|
||||||
|
|
||||||
" still have to deal with old vim versions :<
|
" still have to deal with old vim versions :<
|
||||||
if v:version >= 703
|
if v:version >= 703
|
||||||
|
set helplang=en
|
||||||
|
|
||||||
|
set list
|
||||||
|
set listchars=tab:\|\ ,trail:*,nbsp:x
|
||||||
|
|
||||||
" enable case indentation
|
" enable case indentation
|
||||||
let g:sh_indent_case_labels=1
|
let g:sh_indent_case_labels=1
|
||||||
|
|
||||||
|
@ -50,7 +51,7 @@ if v:version >= 703
|
||||||
if filereadable(expand("$HOME/.vim/bundle/Vundle.vim/autoload/vundle.vim"))
|
if filereadable(expand("$HOME/.vim/bundle/Vundle.vim/autoload/vundle.vim"))
|
||||||
filetype off
|
filetype off
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim/
|
set rtp+=~/.vim/bundle/Vundle.vim/
|
||||||
call vundle#begin()
|
silent! call vundle#begin()
|
||||||
Plugin 'gmarik/Vundle.vim' "plugin manager
|
Plugin 'gmarik/Vundle.vim' "plugin manager
|
||||||
|
|
||||||
" general plugins
|
" general plugins
|
||||||
|
@ -81,7 +82,7 @@ if v:version >= 703
|
||||||
Plugin 'dag/vim-fish' "fish
|
Plugin 'dag/vim-fish' "fish
|
||||||
Plugin 'puppetlabs/puppet-syntax-vim' "puppet
|
Plugin 'puppetlabs/puppet-syntax-vim' "puppet
|
||||||
Plugin 'nagios-syntax' "nagios / icinga
|
Plugin 'nagios-syntax' "nagios / icinga
|
||||||
call vundle#end()
|
silent! call vundle#end()
|
||||||
|
|
||||||
" airline options
|
" airline options
|
||||||
if &t_Co > 88 || has("gui_running")
|
if &t_Co > 88 || has("gui_running")
|
||||||
|
|
Loading…
Reference in a new issue