From 8453359dc6069f4fb36db70ae29945a42d132478 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 27 Jan 2023 07:17:09 -0500 Subject: Prevent vertical window splitting on large screens --- emacs/.config/emacs-kj/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs/.config/emacs-kj') diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 1745d87..a1dbbc8 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -183,6 +183,9 @@ (defun kj/balance-main-window () (balance-windows (window-main-window))) +;; Prefer horizontal splits. +(setq split-height-threshold 100) + (defun kj/split-window-below () (interactive) (split-window-below) -- cgit v1.2.3