From 437dd48e5171993a86138f27ed5918fb69b33cef Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 4 Sep 2022 12:37:57 +0200 Subject: [PATCH] Emacs: Make evil shift in visual mode prefix compatible --- .config/emacs/config/evil.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/emacs/config/evil.org b/.config/emacs/config/evil.org index 48759c1..16f8977 100644 --- a/.config/emacs/config/evil.org +++ b/.config/emacs/config/evil.org @@ -63,16 +63,16 @@ Vim equivalence: " Vim equivalence: gv" (interactive) - (evil-shift-right (region-beginning) (region-end)) - (funcall (evil-visual-restore))) + (call-interactively #'evil-shift-right) + (setq deactivate-mark nil)) (evil-mode)) #+END_SRC