# HG changeset patch # User Steve Losh # Date 1563984868 14400 # Node ID f64186f7a65e8b0bf57cb8b289e0b6c63d911a32 # Parent b503fca4ee8c2493f5f4751e38c4d36cf81f57e5 More diff -r b503fca4ee8c -r f64186f7a65e bin/go-dep-graph --- a/bin/go-dep-graph Wed Jul 17 12:08:02 2019 -0400 +++ b/bin/go-dep-graph Wed Jul 24 12:14:28 2019 -0400 @@ -7,4 +7,4 @@ echo '}' } -render | dot -o "$1.png" -Tpng +render | dot -o "dependencies.png" -Tpng diff -r b503fca4ee8c -r f64186f7a65e fish/functions/ep.fish --- a/fish/functions/ep.fish Wed Jul 17 12:08:02 2019 -0400 +++ b/fish/functions/ep.fish Wed Jul 24 12:14:28 2019 -0400 @@ -3,6 +3,7 @@ case alephnull cd ~/.plan nvim README.markdown + make git cm 'Update' -a git push origin master cd - diff -r b503fca4ee8c -r f64186f7a65e grcat/conf.go-test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/grcat/conf.go-test Wed Jul 24 12:14:28 2019 -0400 @@ -0,0 +1,13 @@ +regexp=(^=== RUN).* +colours=cyan,bold cyan +======= +regexp=(^--- PASS).* +colours=green,bold green +======= +regexp=(^--- FAIL).* +colours=red,bold red +======= +regexp=(^(ok|FAIL|\?)\s.*$) +colours=bright_black,bright_black + + diff -r b503fca4ee8c -r f64186f7a65e mutt/muttrc --- a/mutt/muttrc Wed Jul 17 12:08:02 2019 -0400 +++ b/mutt/muttrc Wed Jul 24 12:14:28 2019 -0400 @@ -2,6 +2,7 @@ set alias_file = ~/.mutt/alias # where to store aliases set header_cache = ~/.mutt/cache/headers # where to store headers +set header_cache_backend=tokyocabinet set message_cachedir = ~/.mutt/cache/bodies # where to store bodies # set certificate_file = ~/.mutt/certificates # where to store certs set mailcap_path = ~/.mutt/mailcap # entries for filetypes @@ -11,7 +12,7 @@ # Editor {{{ # Use Vim to compose email, with a few default options. -set editor = "nvim -c 'normal! }' -c 'redraw'" +set editor = "nvim -c 'set ft=mdmail' -c 'normal! }' -c 'redraw'" # }}} # Contacts {{{ @@ -221,6 +222,8 @@ bind compose p postpone-message bind compose P pgp-menu +macro compose H "| pandoc -r markdown -w html -o ~/.mutt/temp/neomutt-alternative.html~/.mutt/temp/neomutt-alternative.html" + # }}} # Attachment {{{ diff -r b503fca4ee8c -r f64186f7a65e vim/custom-dictionary.utf-8.add --- a/vim/custom-dictionary.utf-8.add Wed Jul 17 12:08:02 2019 -0400 +++ b/vim/custom-dictionary.utf-8.add Wed Jul 24 12:14:28 2019 -0400 @@ -287,3 +287,4 @@ upsert upserts lysed +Syslog diff -r b503fca4ee8c -r f64186f7a65e vim/syntax/mdmail.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/syntax/mdmail.vim Wed Jul 24 12:14:28 2019 -0400 @@ -0,0 +1,23 @@ +if exists("b:current_syntax") + finish +endif +let s:cpo_save = &cpo +set cpo&vim + +" Start with the mail syntax as a base. +runtime! syntax/mail.vim +unlet b:current_syntax + +" Headers are up to the first blank line. Everything after that up to my +" signature is the body, which we'll highlight as Markdown. +syn include @markdownBody syntax/markdown.vim +syn region markdownMailBody start="^$" end="\(^-- $\)\@=" contains=@markdownBody + +" The signature starts at the magic line and ends at the end of the file. +syn region mailSignature start="^-- $" end="\%$" +hi def link mailSignature Comment + +let b:current_syntax = "mdmail" +let &cpo = s:cpo_save +unlet s:cpo_save +