about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-03T10·01+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-03T10·01+0100
commit174d676c93957b2ca722f58e9d638c561ac3a76c (patch)
tree803476e17a1f9d58d9ea051857efd3ae3bfe9c2a /emacs
parent0f160a8029b5f353dc803f4f88df08058535d22d (diff)
Ensure "RET" follows links in Info-mode
Shouldn't this be handled by evil-collection?
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/wpc/keybindings.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/keybindings.el b/emacs/.emacs.d/wpc/keybindings.el
index 35f8909aaf12..8809f185b908 100644
--- a/emacs/.emacs.d/wpc/keybindings.el
+++ b/emacs/.emacs.d/wpc/keybindings.el
@@ -297,5 +297,10 @@
  "l" #'evil-forward-char
  "L" #'magit-log)
 
+(general-define-key
+ :states '(normal)
+ :keymaps '(Info-mode-map)
+ "RET" #'Info-follow-nearest-node)
+
 (provide 'keybindings)
 ;;; keybindings.el ends here