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
This commit is contained in:
parent
3984dc4264
commit
c3a659c33e
5
init.el
5
init.el
@ -2496,6 +2496,11 @@ 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user