1 " Automaticly source some files after writing
2 autocmd! bufwritepost .vimrc source %
3 autocmd! bufwritepost .bashrc !source %
4 autocmd! bufwritepost .Xresources !xrdb -merge %
8 filetype indent plugin on
14 set backspace=eol,start,indent
15 set whichwrap+=<,>,h,l
27 " List characters to mark trailing whitespace etc
28 set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:•
31 " Move through long lines as they were short multiple lines
35 " Custom split switching using tab
41 " Center the search results
45 " Unbind arrow keys, who has them anyways on the keyboard...
46 for prefix in ['i', 'n', 'v']
47 for key in ['<UP>', '<DOWN>', '<LEFT>', '<RIGHT>']
48 exe prefix . "noremap " . key . " <Nop>"
53 let g:GPGPreferArmor=1
57 set statusline+=%#warningmsg#
58 set statusline+=%{SyntasticStatuslineFlag()}
61 let g:syntastic_always_populate_loc_list = 1
62 let g:syntastic_auto_loc_list = 1
63 let g:syntastic_check_on_open = 0
64 let g:syntastic_check_on_wq = 0