summaryrefslogtreecommitdiffstats
path: root/.config/neomutt/mappings
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-11 17:26:30 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-11 17:27:33 +0100
commit4bb695a060b035dab553df1723da20e2c4449220 (patch)
tree410501538298cb0dcbf90e3eacee2821d6c6b22e /.config/neomutt/mappings
parent0915aab65eb9fdb9c76feb820303efeb4820735a (diff)
Minor modifications/updates to mutt settings/mappings
Diffstat (limited to '.config/neomutt/mappings')
-rw-r--r--.config/neomutt/mappings25
1 files changed, 13 insertions, 12 deletions
diff --git a/.config/neomutt/mappings b/.config/neomutt/mappings
index 2e29117..6ca2e47 100644
--- a/.config/neomutt/mappings
+++ b/.config/neomutt/mappings
@@ -1,18 +1,19 @@
# vim: filetype=neomuttrc
bind index,pager,attach g noop
-macro index,pager gi "<change-folder>=INBOX<enter>" "open inbox"
-macro index,pager gd "<change-folder>=Drafts<enter>" "open drafts"
-macro index,pager gs "<change-folder>=Sent Messages<enter>" "open sent"
-macro index,pager gt "<change-folder>=Deleted Messages<enter>" "open trash"
-macro index,pager gf "<change-folder>?" "open mailbox..."
+macro index,pager gi "<change-folder>+INBOX<enter>" "open inbox"
+macro index,pager gd "<change-folder>+Drafts<enter>" "open drafts"
+macro index,pager gs "<change-folder>+Sent%20Messages<enter>" "open sent"
+macro index,pager gt "<change-folder>+Deleted%20Messages<enter>" "open trash"
+macro index,pager gf "<change-folder>?" "open mailbox..."
+
+bind index,pager j next-undeleted
+bind index,pager k previous-undeleted
+
+bind pager J next-line
+bind pager K previous-line
bind index,pager \CJ sidebar-next
bind index,pager \CK sidebar-prev
-bind index,pager \CE sidebar-open
-bind index,pager B sidebar-toggle-visible
-
-# Attach PGP public key
-bind compose a noop
-bind compose aa attach-file
-macro compose ap "<attach-key>`echo [email protected]`<enter><enter>" "attach public key"
+bind index,pager \Co sidebar-open
+bind index,pager \Cb sidebar-toggle-visible