Commits

Oliver Schneider committed ea55025

- Adding gnupg.conf and amended .vimrc to suppress some errors on old machines

Comments (0)

Files changed (2)

+no-greeting
+default-key C779D8290E88590F
+
+# My keys
+trusted-key C779D8290E88590F                         # assarbad.net
+trusted-key 14AAC7FAC25FE76E59E1E25E89C6AC504FE40BF9 # windirstat.info
+trusted-key 7AA9941582C113288FD3352B77B3A6593314F997 # idapalace.net
+trusted-key D2C553E93029C5E1800C8C1C5EC8590E3608A54C # ultravnc.net
+trusted-key 89DD48F8F9617D157B9E8AD9BF16E8AE3FD8C442 # assarbad.org
+trusted-key 849C30126D9C2FBE00C1C728DDC0508DF0AC5CC8 # assarbad.info
+trusted-key 745E6599126658A55755BDAAA88013AA82CB2BE1 # gmx
+trusted-key 3570C592A95CF6C1                         # yggdrasil
+# Other people's keys
+trusted-key CF5F106FDDD2578A7A707B5ABE36502F0B8A909C # GS1
+trusted-key 838E90264EFF81A5AD0C3789FC83BA68A08FA04F # GS2
+trusted-key 6E9896857B5680A689E990BC996070CFBD34139B # GS3
+trusted-key 3847B679C32B5E32613ECB1ABE168DE9175AE501 # GS4
+
+default-recipient-self
+force-v3-sigs
+escape-from-lines
+lock-once
+
+keyserver pgp.mit.edu
 set background=dark " using dark terminal make certain elements a little brighter ;)
 set backspace=indent,eol,start " make backspace more convenient
 
-" Load plugins
-runtime ftplugin/man.vim
-
 " Indentation/tab related settings
 set tabstop=4
 set shiftwidth=4
 " ... and how to get rid of the highlighted search matches? Like so:
 nmap <leader>h :nohlsearch<CR>
 
-" syntax highlighting
-filetype on
-filetype plugin on
-filetype indent on
+silent! runtime ftplugin/man.vim | filetype on | filetype plugin on | filetype indent on
 syntax on
 if version >= 700
 	set showcmd      " show incomplete cmds down the bottom
 if &encoding == 'utf-8'
 	set listchars=tab:›\ ,eol:¬
 else
-	set listchars=tab:&gt;\ 
+	set listchars=tab:>\ 
 endif
 highlight NonText ctermfg=DarkGrey guifg=#4a4a59
 highlight SpecialKey ctermfg=DarkGrey guifg=#4a4a59
 highlight LineNr term=reverse cterm=NONE ctermfg=DarkGrey ctermbg=NONE
 " Highlight odd tabs in the middle of the line
 match errorMsg /[^\t]\zs\t\+/
+
+" Allow expanding to current active file directory (Practical Vim, page 95)
+cnoremap <expr> %%  getcmdtype() == ':' ? expand('%:h').'/' : '%%'