diff options
-rw-r--r-- | .gitattributes | 2 | ||||
-rw-r--r-- | .mbsyncrc | bin | 1767 -> 1786 bytes | |||
-rw-r--r-- | .mutt/keybindings | 5 | ||||
-rw-r--r-- | .notmuch-config | bin | 0 -> 2545 bytes | |||
-rwxr-xr-x | bin/mailsync | bin | 0 -> 526 bytes |
5 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index f7ce846..72425f5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,5 @@ .authinfo filter=git-crypt diff=git-crypt .newsboat/config filter=git-crypt diff=git-crypt .newsboat/urls filter=git-crypt diff=git-crypt +.notmuch-config filter=git-crypt diff=git-crypt +bin/mailsync filter=git-crypt diff=git-crypt Binary files differdiff --git a/.mutt/keybindings b/.mutt/keybindings index 60e3178..f648e70 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -12,3 +12,8 @@ bind attach,index G last-entry bind index,pager \Cn sidebar-next bind index,pager \Cp sidebar-prev + +# '^L' performs a notmuch query, showing only the results +macro index \Cl "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;s/\\+/\\\\+/g for@a;s/=/\\\\=/g for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern" +# 'a' shows all messages again (supersedes default <alias> binding) +macro index a "<limit>all\n" "show all messages (undo limit)" diff --git a/.notmuch-config b/.notmuch-config Binary files differnew file mode 100644 index 0000000..f8ffee0 --- /dev/null +++ b/.notmuch-config diff --git a/bin/mailsync b/bin/mailsync Binary files differnew file mode 100755 index 0000000..1b21b84 --- /dev/null +++ b/bin/mailsync |