diff options
| author | jao <jao@gnu.org> | 2026-04-15 11:28:57 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-04-15 11:29:33 +0100 |
| commit | 8743437098ad658446cb5b63b356e4e5c79170bc (patch) | |
| tree | bb6a2636b55168ab8c87c4727653cbaed96fa697 | |
| parent | 1fbccb6e3dde6fd0a564cd60dd40fa502fe4484f (diff) | |
| download | elibs-8743437098ad658446cb5b63b356e4e5c79170bc.tar.gz elibs-8743437098ad658446cb5b63b356e4e5c79170bc.tar.bz2 | |
remembering to use spatial-windowmain
| -rw-r--r-- | init.el | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1133,10 +1133,17 @@ (use-package spatial-window :ensure t + :config + (defun jao-spatial-window-select () + (interactive) + (if (< (length (window-list)) 3) + (other-window 1) + (spatial-window-select))) + :bind - ("M-o" . spatial-window-select) - ("C-x o" . spatial-window-select) - ("C-x p" . spatial-window-select)) + ("M-o" . jao-spatial-window-select) + ("C-x o" . jao-spatial-window-select) + ("C-x p" . jao-spatial-window-select)) ;;;; transposing windows (defun transpose-windows (arg) |
