diff options
| author | jao <jao@gnu.org> | 2026-02-16 23:51:28 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-02-16 23:51:28 +0000 |
| commit | 84f43a6088886a5d37dc51fd6dbfbf217df3c2b1 (patch) | |
| tree | b0628393ff884a0ade7f7486cfee0b64ba4cfbe9 /init.el | |
| parent | cc42a096c267ae184e20960d3f397ef083855f04 (diff) | |
| download | elibs-84f43a6088886a5d37dc51fd6dbfbf217df3c2b1.tar.gz elibs-84f43a6088886a5d37dc51fd6dbfbf217df3c2b1.tar.bz2 | |
spatial-window
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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") |
