aboutsummaryrefslogtreecommitdiff
path: root/.config/mutt/vim-keys.rc
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-04-07 10:45:56 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-04-07 10:45:56 +0000
commitc8ad47eabefc3ff9d545227e2d01eeaac876347d (patch)
treebec2f8a8f21e0444f72d496829b93d85a10d1823 /.config/mutt/vim-keys.rc
parent4bea5f472cc649da5fa4ef4dc7b719d75b9f2d57 (diff)
downloaddotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.tar
dotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.tar.gz
dotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.tar.bz2
dotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.tar.lz
dotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.tar.xz
dotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.tar.zst
dotfiles-c8ad47eabefc3ff9d545227e2d01eeaac876347d.zip
Add mutt/neomutt config
Diffstat (limited to '')
-rw-r--r--.config/mutt/vim-keys.rc39
1 files changed, 39 insertions, 0 deletions
diff --git a/.config/mutt/vim-keys.rc b/.config/mutt/vim-keys.rc
new file mode 100644
index 0000000..a4fd22a
--- /dev/null
+++ b/.config/mutt/vim-keys.rc
@@ -0,0 +1,39 @@
+# vi: ft=muttrc
+#------------------------------------------------------------
+# Vi Key Bindings
+#------------------------------------------------------------
+
+# Moving around
+bind attach,browser,index g noop
+bind attach,browser,index gg first-entry
+bind attach,browser,index G last-entry
+bind pager g noop
+bind pager gg top
+bind pager G bottom
+bind pager k previous-line
+bind pager j next-line
+
+# Scrolling
+bind attach,browser,pager,index \CF next-page
+bind attach,browser,pager,index \CB previous-page
+bind attach,browser,pager,index \Cu half-up
+bind attach,browser,pager,index \Cd half-down
+bind browser,pager \Ce next-line
+bind browser,pager \Cy previous-line
+bind index \Ce next-line
+bind index \Cy previous-line
+
+bind pager,index d noop
+bind pager,index dd delete-message
+
+# Mail & Reply
+bind index \Cm list-reply # Doesn't work currently
+
+# Threads
+bind browser,pager,index N search-opposite
+bind pager,index dT delete-thread
+bind pager,index dt delete-subthread
+bind pager,index gt next-thread
+bind pager,index gT previous-thread
+bind index za collapse-thread
+bind index zA collapse-all # Missing :folddisable/foldenable