diff options
| -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") |
