272 autocmd BufWritePre *.gpg :%!GPG_TTY=/dev/tty gpg2 -se -a --default-recipient-self |
267 autocmd BufWritePre *.gpg :%!GPG_TTY=/dev/tty gpg2 -se -a --default-recipient-self |
273 autocmd BufWritePost *.gpg u |
268 autocmd BufWritePost *.gpg u |
274 augroup END |
269 augroup END |
275 "}}} |
270 "}}} |
276 |
271 |
277 |
|
278 " Perl type-specific settings {{{ |
272 " Perl type-specific settings {{{ |
279 let perl_include_pod = 1 |
273 let perl_include_pod = 1 |
280 let perl_sub_signatures = 1 |
274 let perl_sub_signatures = 1 |
281 let perl_sync_dist = 200 |
275 let perl_sync_dist = 200 |
282 " }}} |
276 " }}} |
283 |
277 |
284 |
|
285 " Plugin settings {{{ |
278 " Plugin settings {{{ |
286 |
|
287 ">> Vimwiki |
279 ">> Vimwiki |
288 let g:vimwiki_list = [ |
280 let g:vimwiki_list = [ |
289 \ { |
281 \ { |
290 \ 'path': '~/vimwiki/', |
282 \ 'path': '~/vimwiki/', |
291 \ 'auto_tags': 1, 'auto_toc': 1, 'automatic_nested_syntaxes': 1 |
283 \ 'auto_tags': 1, 'auto_toc': 1, 'automatic_nested_syntaxes': 1 |
406 |
398 |
407 ">> interestingwords |
399 ">> interestingwords |
408 " These are jellybeans colors and some complements |
400 " These are jellybeans colors and some complements |
409 let g:interestingWordsGUIColors = ['#C4A258', '#D8AD4C', '#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C'] |
401 let g:interestingWordsGUIColors = ['#C4A258', '#D8AD4C', '#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C'] |
410 let g:interestingWordsRandomiseColors = 1 |
402 let g:interestingWordsRandomiseColors = 1 |
411 |
|
412 " }}} |
403 " }}} |
413 |
|
414 |
404 |
415 " {{{ Commands |
405 " {{{ Commands |
416 " Preview markdown mail -- I edit with headers so I box them in a code block. |
406 " Preview markdown mail -- I edit with headers so I box them in a code block. |
417 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 |
407 command! MailPreview enew | set bt=nofile | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 |
418 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |
408 command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |