commit e9ee706ea601cb48ca425f6bba23e2c3c3b1f7e7 parent 1f3b6f34b291c44d967c9f398b3602426c178606 Author: Daniel Moch <daniel@danielmoch.com> Date: Fri, 7 Jun 2019 21:32:58 -0400 Mutt: syntax hilighting for Git patches Diffstat:
M | .muttrc | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.muttrc b/.muttrc @@ -43,6 +43,13 @@ macro index <F6> \ macro index <F5> "<change-folder>!<enter>" "Return to INBOX" # }}} +# {{{ Hooks +message-hook '~s .*' 'uncolor body red default "^-.*"' +message-hook '~s .*' 'uncolor body green default "^\\+.*"' +message-hook '~s \\[PATCH' 'color body red default "^-.*"' +message-hook '~s \\[PATCH' 'color body green default "^\\+.*"' +# }}} + # {{{ General Settings set realname = "Daniel Moch" set sendmail_wait = -1