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
29 " List characters to mark trailing whitespace etc
30 set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:•
33 " Move through long lines as they were short multiple lines
37 " Custom split switching using tab
43 " Center the search results
47 " Unbind arrow keys, who has them anyways on the keyboard...
48 for prefix in ['i', 'n', 'v']
49 for key in ['<UP>', '<DOWN>', '<LEFT>', '<RIGHT>']
50 exe prefix . "noremap " . key . " <Nop>"
55 let g:GPGPreferArmor=1
59 set statusline+=%#warningmsg#
60 set statusline+=%{SyntasticStatuslineFlag()}
63 let g:syntastic_always_populate_loc_list = 1
64 let g:syntastic_auto_loc_list = 1
65 let g:syntastic_check_on_open = 0
66 let g:syntastic_check_on_wq = 0