Use doom's nice back/forward jumping with mouse
This commit is contained in:
parent
d47596cedc
commit
db0fe3539a
|
@ -139,12 +139,8 @@ To find more,
|
||||||
*** Editor interaction
|
*** Editor interaction
|
||||||
**** Mouse buttons
|
**** Mouse buttons
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun add-mouse-back-button-to-Info-mode ()
|
(map! :n [mouse-8] #'better-jumper-jump-backward
|
||||||
"Add some browser styled nav keys for `Info-mode'."
|
:n [mouse-9] #'better-jumper-jump-forward)
|
||||||
(local-set-key (kbd "<mouse-8>") 'Info-history-back)
|
|
||||||
(local-set-key (kbd "<mouse-9>") 'Info-history-forward))
|
|
||||||
|
|
||||||
(add-hook 'Info-mode-hook 'add-mouse-back-button-to-Info-mode)
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Package loading
|
* Package loading
|
||||||
This file shouldn't be byte compiled.
|
This file shouldn't be byte compiled.
|
||||||
|
|
Loading…
Reference in a new issue