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
49 " Unbind arrow keys, who has them anyways on the keyboard...
50 for prefix in ['i', 'n', 'v']
51 for key in ['<UP>', '<DOWN>', '<LEFT>', '<RIGHT>']
52 exe prefix . "noremap " . key . " <Nop>"
57 let g:GPGPreferArmor=1
61 set statusline+=%#warningmsg#
62 set statusline+=%{SyntasticStatuslineFlag()}
65 let g:syntastic_always_populate_loc_list = 1
66 let g:syntastic_auto_loc_list = 1
67 let g:syntastic_check_on_open = 0
68 let g:syntastic_check_on_wq = 0
71 let g:vimtex_compiler_enabled = 0