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 | |
| parent | cc42a096c267ae184e20960d3f397ef083855f04 (diff) | |
| download | elibs-84f43a6088886a5d37dc51fd6dbfbf217df3c2b1.tar.gz elibs-84f43a6088886a5d37dc51fd6dbfbf217df3c2b1.tar.bz2 | |
spatial-window
| -rw-r--r-- | custom/jao-custom-mac.el | 1 | ||||
| -rw-r--r-- | init.el | 12 |
2 files changed, 10 insertions, 3 deletions
diff --git a/custom/jao-custom-mac.el b/custom/jao-custom-mac.el index d5ebc2e..a4d44a1 100644 --- a/custom/jao-custom-mac.el +++ b/custom/jao-custom-mac.el @@ -12,6 +12,7 @@ "/Applications/Emacs.app/Contents/MacOS/libexec-arm64-11" "/opt/homebrew/sbin" "/opt/homebrew/bin" + "~/.ghcup/bin" "~/.local/bin" "~/.cabal/bin" "~/.cargo/bin" @@ -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") |
