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