1 " Automaticly source some files after writing
2 autocmd! bufwritepost .vimrc source %
6 filetype indent plugin on
12 set backspace=eol,start,indent
13 set whichwrap+=<,>,h,l
26 " List characters to mark trailing whitespace etc
27 set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:•
30 " Move through long lines as they were short multiple lines
34 " Custom split and tabswitching using tab
35 map <TAB>l <C-PageDown>
37 map <TAB><TAB>l <C-W>l
38 map <TAB><TAB>h <C-W>h
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