From f62084a6929e7b7b8080a4ccd8e5b2c2380c9626 Mon Sep 17 00:00:00 2001 From: listout Date: Tue, 13 Apr 2021 12:13:13 +0530 Subject: neomutt configs --- .config/neomutt/mappings | 59 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .config/neomutt/mappings (limited to '.config/neomutt/mappings') diff --git a/.config/neomutt/mappings b/.config/neomutt/mappings new file mode 100644 index 0000000..8275875 --- /dev/null +++ b/.config/neomutt/mappings @@ -0,0 +1,59 @@ +# vim: filetype=muttrc + +# General rebindings +bind attach view-mailcap +bind attach l view-mailcap +bind editor noop +bind pager c imap-fetch-mail +bind index G last-entry +bind index g noop +bind index gg first-entry +bind pager,attach h exit +bind pager j next-line +bind pager k previous-line +bind pager l view-attachments +bind index D delete-message +bind index U undelete-message +bind index L limit +bind index h noop +bind index l display-message +bind browser h goto-parent +bind browser l select-entry +bind pager,browser gg top-page +bind pager,browser G bottom-page +bind index,pager,browser d half-down +bind index,pager,browser u half-up +bind index,pager R group-reply +bind index \031 previous-undeleted # Mouse wheel +bind index \005 next-undeleted # Mouse wheel +bind pager \031 previous-line # Mouse wheel +bind pager \005 next-line # Mouse wheel +bind editor complete-query +bind index,pager B sidebar-toggle-visible + +# sidebar mappings +bind index,pager \Ck sidebar-prev +bind index,pager \Cj sidebar-next +bind index,pager \Co sidebar-open +bind index,pager \Cp sidebar-prev-new +bind index,pager \Cn sidebar-next-new +bind index,pager B sidebar-toggle-visible + +# global index and pager shortcuts +bind index,pager @ compose-to-sender +bind index,pager D purge-message +bind index sync-mailbox +bind index collapse-thread + +# 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" + +# use markdown in email, esc then 5 +macro compose \e5 "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=utf-8\n" +set wait_key=no -- cgit v1.2.3