app/email: add :keep-visual prop on mu4e commands #975

This commit is contained in:
Henrik Lissner 2019-02-28 14:01:22 -05:00
parent 94a57f695e
commit ab79799407
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -19,3 +19,9 @@
(goto-char beg)
(dotimes (_ (count-lines beg end))
(mu4e-headers-mark-and-next command))))
;;;###autoload
(after! evil
;; Fix #975 for mu4e commands, so they can move cursor in visual line mode
(evil-set-command-property 'mu4e-compose-goto-bottom :keep-visual t)
(evil-set-command-property 'mu4e-compose-goto-top :keep-visual t))