# Navigation bind pager k previous-entry bind pager j next-entry # bind index,pager \Cu half-up # bind index,pager \Cd half-down # bind pager gg top # bind index gg first-entry # bind pager G bottom # bind index G last-entry # bind index,pager N search-opposite bind index display-message bind index collapse-thread bind index,pager gf change-folder # Read HTML bind index,pager V noop macro index,pager V "html" # compose bind compose p postpone-message bind compose P pgp-menu # macro compose I "`tmpfile=$(mktemp -u --suffix .png -t XXXXXXXXXXXX -p ~/tmp) && wl-paste -t image/png > "$tmpfile" && echo "$tmpfile"`" "attach image from clipboard" bind editor complete-query bind editor ^T complete bind index,pager a group-reply bind index,pager m noop macro index,pager mar "newn*" "Mark all read" # compose with signature management macro index,pager @ "set signature=$my_signature" "Compose to sender" macro index,pager c "set signature=$my_signature" "Compose new message" macro index,pager r "unset signature" "Reply to message" macro index,pager a "unset signature" "Reply all" macro index,pager f "unset signature" "Forward message" # moving messages macro index,pager J ":set resolve=no\nn:set resolve=yes\n$my_junk" \ "Move to junk folder" macro index,pager y ":set resolve=no\nn:set resolve=yes\n$mbox" \ "Move message to the archive" macro index,pager I "$spoolfile" "Move message to the inbox" # switch folders macro index,pager g! "$spoolfile" "Go to inbox" macro index,pager gd "$postponed" "Go to drafts" macro index,pager g< "$record" "Go to sent" macro index,pager ga "$mbox" "Go to archive" macro index,pager g> "$mbox" "Go to archive" macro index,pager gt "$trash" "Go to trash" macro index,pager gj "$my_junk" "Go to junk" # accounts macro index,pager gu "~/.local/share/mail/gu/Inbox" "Go to GU" # macro index,pager gp "+systemli/IMAP/Inbox" "Go to Systemli" macro index,pager gm "~/.local/share/mail/t9e/Inbox" "Go to t9e" # macro index,pager gm "+gmail/IMAP/Inbox" "Go to Gmail" macro index,pager gk "~/.local/share/mail/ksh/Inbox" "Go to KSH" macro index,pager gi "~/.local/share/mail/ktiu/Inbox" "Go to ktiu" # macro index,pager gf "~/.local/share/mail/dkg/Inbox" "Go to DKG" macro index,pager L "all\n" "Show all messages (undo limit)" # macro index,pager go "mbsync -c ~/.config/mbsync/mbsyncrc $my_mbsync_acct && notmuch new" \ # "Run mbsync to sync mail for this account" macro index,pager go "mbsync $my_mbsync_acct && notmuch new" \ macro index,pager g/ "" "find in nm" macro index,pager A \ "khard add-email --vcard-version=4.0" \ "add the sender email address to khard" macro index,pager S \ " ripmime -i - -d ~/tmp && rm ~/tmp/textfile*" \ "save all non-text attachments using ripmime" macro index,pager gb \ " urlscan" \ "extract URLs out of a message" macro index,pager gO \ "mbsync -a && notmuch new" \ "run mbsync to sync all mail"