Compare commits

...

2 Commits

Author SHA1 Message Date
3e7a086bdc
Always offer ace-window action dispatch menu when switching windows
This is a trial to make better use of the action dispatch menu (which I currently don't use at all).
2025-09-28 18:07:04 +02:00
c3a659c33e
Use most-recently used window for other scrolling
Taken from [the Emacs Window Management Almanac][1], for trying it out.

[1]: https://karthinks.com/software/emacs-window-management-almanac/#scroll-other-window--built-in
2025-09-28 18:05:50 +02:00

View File

@ -2496,13 +2496,18 @@ Note that this workaround is incomplete, as explained in this comment."
;;* Navigation
(setopt other-window-scroll-default #'(lambda ()
(or (get-mru-window nil nil 'not-this-one)
(next-window)
(next-window nil nil 'visible))))
(use-package ace-window
:ensure t
:commands (ace-window
ace-window-display-mode)
:init (setopt aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)
aw-background t
aw-dispatch-always nil
aw-dispatch-always t
aw-scope 'frame))
(use-package avy