summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/init.el b/init.el
index 432f494..367427e 100644
--- a/init.el
+++ b/init.el
@@ -1025,9 +1025,9 @@
;;; Windows
;;;; splitting and switch
-(setq split-height-threshold 80
+(setq split-height-threshold 200
split-width-threshold 144
- display-buffer-avoid-small-windows 20)
+ display-buffer-avoid-small-windows 40)
(setq switch-to-buffer-preserve-window-point nil
switch-to-buffer-obey-display-actions nil
@@ -1085,7 +1085,13 @@
(global-set-key "\C-xp" 'jao-prev-window)
-;; transposing windows
+;;;; window navigation (spatial-window)
+
+(use-package spatial-window
+ :ensure t
+ :bind ("C-M-o" . spatial-window-select))
+
+;;;; transposing windows
(defun transpose-windows (arg)
"Transpose the buffers shown in two windows."
(interactive "p")