From 53ddd58049fd3262ce206d9a9ebb7228e66837cf Mon Sep 17 00:00:00 2001 From: TEC Date: Sat, 23 May 2020 18:47:48 +0800 Subject: [PATCH] Mu4e: Add visual mode keybindings for headers mode --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.org b/config.org index 481fd31..7cc0c0c 100644 --- a/config.org +++ b/config.org @@ -1576,6 +1576,18 @@ specification. ) #+END_SRC +Due to evil, none of the marking commands work when making a visual selection in +the headers view of mu4e. Without overriding any evil commands we may actually +want to use in and evil selection, this can be easily fixed. +#+BEGIN_SRC emacs-lisp +(map! :map mu4e-headers-mode-map + :after mu4e + :v "*" #'mu4e-headers-mark-for-something + :v "!" #'mu4e-headers-mark-for-read + :v "?" #'mu4e-headers-mark-for-unread + :v "u" #'mu4e-headers-mark-for-unmark) +#+END_SRC + The main mu4e window is ... alright. I'm not afraid of unicode though, so I'll define a fancier version. Look, it's the asterisks. We can do better than asterisks. The keybindings can also be made nicer, why have ~[x]~ when we can just