From f18caa1518626c022c86f0958d9323ba3a1ea241 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 28 Oct 2019 13:59:16 -0400 Subject: [PATCH] evil-{,v}split-window-{below,right} = t To match vim's behavior, when splitting windows. The +evil-window-split-a and +evil-window-vsplit-a advice are still necessary to preserve proper "window focus" order. --- modules/editor/evil/config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index 5f832e6ee..8949eb65e 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -25,6 +25,8 @@ directives. By default, this only recognizes C directives.") (defvar evil-want-C-w-scroll t) (defvar evil-want-Y-yank-to-eol t) (defvar evil-want-abbrev-expand-on-insert-exit nil) +(defvar evil-split-window-below t) +(defvar evil-vsplit-window-right t) (use-package! evil :hook (doom-init-modules . evil-mode)