From de8693e3e15d71876af6cce35cd2f64884bf4ad3 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Fri, 1 Mar 2019 09:46:17 +0100 Subject: [PATCH] mu4e: Fix G and gg in visual state for mu4e-compose Fixes #226. Thanks to Alan Schmitt for the tip. --- evil-collection-mu4e.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evil-collection-mu4e.el b/evil-collection-mu4e.el index 301d2c4..7693f4a 100644 --- a/evil-collection-mu4e.el +++ b/evil-collection-mu4e.el @@ -244,6 +244,8 @@ (evil-collection-define-key 'visual 'mu4e-compose-mode-map "gg" 'mu4e-compose-goto-top "G" 'mu4e-compose-goto-bottom) + (evil-set-command-property 'mu4e-compose-goto-bottom :keep-visual t) + (evil-set-command-property 'mu4e-compose-goto-top :keep-visual t) (evil-collection-define-key 'operator 'mu4e-view-mode-map "u" '(menu-item ""