summaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
authorralphe <boyo.ralph@protonmail.com>2018-03-19 08:08:13 +0100
committerLuke Smith <luke@lukesmith.xyz>2018-03-19 09:03:06 -0700
commit672bbd51496037997db8192f2ec79aeb2bdf246c (patch)
treef90864db8a44a2f8bdb8fa52794b436dcd2f2dcf /muttrc
parent8b2d268e64363b1ca1e9b89ef08890f1eeb6da7e (diff)
copy / move dialog
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/muttrc b/muttrc
index 6a7c108..54350ac 100644
--- a/muttrc
+++ b/muttrc
@@ -50,6 +50,10 @@ macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "ma
macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
+#copy/move dialogs
+macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
+macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
+
# Notmuch searching
macro index \Cf "<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;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern"
macro index A "<limit>all\n" "show all messages (undo limit)"