about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-24T14·43+0100
committerVincent Ambo <tazjin@google.com>2019-12-24T14·43+0100
commitceaa0ff0bafd1efeb154b982cc6db8a4907029f1 (patch)
treedfeb6b5e2c36dbe7fe197a1f8a635ee1f2af21ce /tools
parent86c2ebc096973c9b82b130ae8fd5757989458aec (diff)
feat(emacs.d): Advise split-window-below to call edwina-arrange r/297
Diffstat (limited to 'tools')
-rw-r--r--tools/emacs/config/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el
index 907011b4d9..975164383c 100644
--- a/tools/emacs/config/init.el
+++ b/tools/emacs/config/init.el
@@ -63,7 +63,9 @@
               :caller 'ivy-switch-buffer))
   :bind (:map edwina-mode-map
               ("s-w b" . #'edwina-split-to-buffer))
-  :config (edwina-mode 1))
+  :config
+  (advice-add 'split-window-below :after 'edwina-arrange)
+  (edwina-mode 1))
 
 (use-package gruber-darker-theme)
 (use-package ht)