f64186f7a65e

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 24 Jul 2019 12:14:28 -0400
parents b503fca4ee8c
children 5c6597e57071 cb6425cf31ba
branches/tags (none)
files bin/go-dep-graph fish/functions/ep.fish grcat/conf.go-test mutt/muttrc vim/custom-dictionary.utf-8.add vim/syntax/mdmail.vim

Changes

--- 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
--- 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 -
--- /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
+
+
--- 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<enter><attach-file>~/.mutt/temp/neomutt-alternative.html<enter><tag-entry><previous-entry><tag-entry><group-alternatives>"
+
 # }}}
 # Attachment {{{
 
--- 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
--- /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
+