emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Better mouse navigation in Info-mode


From: jonas
Subject: Better mouse navigation in Info-mode
Date: Fri, 20 Sep 2024 11:31:26 +0000

Some computer mice have additional buttons off to the side, Emacs
supports two of these additional buttons as `<mouse-8>` and `<mouse-9>`.

Conventionally, in web-browsers and similar applications these buttons
are mapped to history-backwards and history-forwards respectively.

I suggest implementing this for Info-mode by default, with:

(define-key Info-mode-map (kbd "<mouse-8>") #'Info-history-back)
(define-key Info-mode-map (kbd "<mouse-9>") #'Info-history-forward)

And similarly for other modes that have history navigation.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]