More improvements.

This commit is contained in:
Thomas Gideon 2015-04-01 11:13:36 -04:00
parent ae467de46c
commit 11e624be5a

10
vimrc
View file

@ -23,6 +23,12 @@ set hidden
set exrc set exrc
" make looking for local changes secure " make looking for local changes secure
set secure set secure
" more secure
set modelines=0
" preserve some context
set scrolloff=3
" make the cursor a bit easier to follows
set cursorline
" make search work a bit more like tab completion in bash " make search work a bit more like tab completion in bash
set incsearch set incsearch
set wildmode=longest:full set wildmode=longest:full
@ -45,6 +51,8 @@ set enc=utf-8
" more readable config for list mode " more readable config for list mode
set listchars+=nbsp,tab:»·,trail set listchars+=nbsp,tab:»·,trail
set listchars-=eol:$ set listchars-=eol:$
" add a hint for long lines
set colorcolumn=120
" smarter handling of case during search " smarter handling of case during search
set ignorecase set ignorecase
set smartcase set smartcase
@ -53,6 +61,8 @@ set nobackup
set noswapfile set noswapfile
" make pastemode more accessible " make pastemode more accessible
set pastetoggle=<F2> set pastetoggle=<F2>
" save when moving away
au FocusLost * :wa
" configure airline, advanced status line plugin " configure airline, advanced status line plugin
let g:airline#extensions#tagbar#enabled = 1 let g:airline#extensions#tagbar#enabled = 1