# index navigation bind index l display-message bind index L limit bind index,pager g noop # don't send group-replies with g bind index gg first-entry bind index G last-entry bind index collapse-thread # view manipulation bind attach,browser,index,pager \CF next-page bind attach,browser,index,pager \CB previous-page bind attach,browser,index,pager \Cu half-up bind attach,browser,index,pager \Cd half-down bind browser,index,pager \Ce next-line bind browser,index,pager \Cy previous-line bind index s toggle-new bind index S set-flag macro index \CS "T~UN." "mark all messages as read" bind index,pager w display-toggle-weed # Thread manipulation bind pager d noop bind index,pager dD delete-message bind index,pager dd delete-subthread bind index,pager dt delete-thread bind pager,index gt next-thread bind pager,index gT previous-thread bind pager,index za collapse-thread bind pager,index zA collapse-all bind pager,index zr reconstruct-thread bind pager,index zR entire-thread # Saner copy/move dialogs macro index,pager ,c "?" "copy a message to a mailbox" macro index,pager ,m "?" "move thread to a mailbox" macro index,pager ,M "?" "move a message to a mailbox" # Email completion bindings bind editor complete-query bind editor ^T complete # Press A to add contact to Khard address book macro index,pager ,a \ "khard add-email" \ "add the sender email address to khard" # mailbox navigation macro index,pager gi "=inbox" "go to inbox" macro index,pager gm "=important" "go to important" macro index,pager gs "=sent" "go to sent" macro index,pager gd "=drafts" "go to drafts" macro index,pager gt "=trash" "go to trash" macro index,pager ga "=archive" "go to archive" # sidebar navigation bind index,pager B sidebar-toggle-visible bind index,pager sidebar-next bind index,pager sidebar-prev bind index,pager sidebar-open # search navigation macro index a "all\n" "show all messages (undo limit)" bind browser,index,pager N search-opposite # vim-like search bind index \\ vfolder-from-query # notmuch search # pager navigation bind pager,attach h exit bind pager l view-attachments bind pager k previous-line bind pager j next-line bind pager gg top bind pager G bottom # compose postpone bind compose p postpone-message # markdown to html for composition macro compose ,m "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=UTF-8\n" "Convert from MD to HTML" # since we unbound the original g bind index,pager r noop # to avoid accidentally sending replies bind index,pager rr group-reply bind index,pager ro reply # open urls found in the e-mail macro index,pager \CU " unset pipe_decodeextract_url | fzf | clip" "get URLs" # Refresh far imap email macro index O "export MBSYNC_PRE=true; sync-mail" "refresh all e-mail" macro index o "export MBSYNC_PRE=true; sync-mail gmail-inbox" "refresh inbox e-mail" # Send mail to taskwarrior macro index,pager ,T "mutt2task -c -d -t" "add mail as task to taskwarrior with custom description and tags" macro index,pager ,t "mutt2task -c" "add mail as task to taskwarrior"