aboutsummaryrefslogtreecommitdiff
path: root/mutt/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/bindings')
-rw-r--r--mutt/bindings30
1 files changed, 30 insertions, 0 deletions
diff --git a/mutt/bindings b/mutt/bindings
new file mode 100644
index 0000000..1d7fb15
--- /dev/null
+++ b/mutt/bindings
@@ -0,0 +1,30 @@
+# some sane vim-like keybindings
+bind index k previous-entry
+bind index j next-entry
+bind pager k previous-line
+bind pager j next-line
+bind index,pager g noop
+bind pager gg top
+bind index gg first-entry
+bind pager G bottom
+bind index G last-entry
+
+bind index,pager \Cd purge-message
+
+# Sidebar Navigation
+bind index,pager <down> sidebar-next
+bind index,pager <up> sidebar-prev
+bind index,pager <right> sidebar-open
+
+# index and pager shortcuts
+bind index,pager @ compose-to-sender
+bind index,pager R group-reply
+bind index <tab> sync-mailbox
+bind index <space> collapse-thread
+
+# Sync all email
+macro index,pager O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail"
+
+# Drafts
+bind compose P postpone-message
+bind index p recall-message