2 execute pathogen#infect()
4 " Automaticly source some files after writing
5 autocmd! bufwritepost .vimrc source %
6 autocmd! bufwritepost .bashrc !source %
7 autocmd! bufwritepost .Xresources !xrdb -merge %
11 filetype indent plugin on
16 set backspace=eol,start,indent
17 set whichwrap+=<,>,h,l
27 " Custom split switching using tab
33 " Center the search results
37 " Unbind arrow keys, who has them anyways on the keyboard...
38 for prefix in ['i', 'n', 'v']
39 for key in ['<UP', '<DOWN>', '<LEFT>', '<RIGHT>']
40 exe prefix . "noremap " . key . " <Nop>"
45 let g:GPGPreferArmor=1
49 set statusline+=%#warningmsg#
50 set statusline+=%{SyntasticStatuslineFlag()}
53 let g:syntastic_always_populate_loc_list = 1
54 let g:syntastic_auto_loc_list = 1
55 let g:syntastic_check_on_open = 0
56 let g:syntastic_check_on_wq = 0