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
28 " List characters to mark trailing whitespace etc
29 set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:•
32 " Move through long lines as they were short multiple lines
36 " Custom split switching using tab
42 " Center the search results
50 " Unbind arrow keys, who has them anyways on the keyboard...
51 for prefix in ['i', 'n', 'v']
52 for key in ['<UP>', '<DOWN>', '<LEFT>', '<RIGHT>']
53 exe prefix . "noremap " . key . " <Nop>"
58 let g:GPGPreferArmor=1
62 set statusline+=%#warningmsg#
63 set statusline+=%{SyntasticStatuslineFlag()}
66 let g:syntastic_always_populate_loc_list = 1
67 let g:syntastic_auto_loc_list = 1
68 let g:syntastic_check_on_open = 0
69 let g:syntastic_check_on_wq = 0
72 let g:vimtex_compiler_enabled = 0
74 " Background transparency
75 hi Normal guibg=NONE ctermbg=NONE