From 6de971a11a531ef48711cd49b83f75df5c15c7dd Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 19 Mar 2021 14:29:25 -0400 Subject: [PATCH] When splitting windows, make the cursor follow the split --- emacs/.emacs.d/config/init-evil.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-evil.el b/emacs/.emacs.d/config/init-evil.el index 8c52082..58945f9 100644 --- a/emacs/.emacs.d/config/init-evil.el +++ b/emacs/.emacs.d/config/init-evil.el @@ -11,7 +11,9 @@ "j" #'evil-next-visual-line "k" #'evil-previous-visual-line) :custom - (evil-undo-system 'undo-tree)) + (evil-undo-system 'undo-tree) + (evil-split-window-below t) + (evil-vsplit-window-right t)) (use-package evil-collection :after evil)