about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-03T13·50+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-03T13·50+0100
commit990b6278a8a9e456fb86efa47a4a59e903dd95b9 (patch)
treec8a28714777d11d1918d41a73bb3f36dad25f7fe /emacs
parent4c809ebf59d66800f9a4ede298e4d4606993cea9 (diff)
Define KBDs for Info-mode
I took the Info-mode tutorial (finally) and I found some things from
evil-collection that I liked, other things that I didn't like.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/wpc/keybindings.el17
1 files changed, 16 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/keybindings.el b/emacs/.emacs.d/wpc/keybindings.el
index 8809f185b908..6886ecf98dd2 100644
--- a/emacs/.emacs.d/wpc/keybindings.el
+++ b/emacs/.emacs.d/wpc/keybindings.el
@@ -177,6 +177,7 @@
  "hk" #'helpful-key
  "hv" #'helpful-variable
  "hp" #'helpful-at-point
+ "hi" #'info-apropos
  "s" #'flyspell-mode
  "S" #'sort-lines
  "=" #'align
@@ -297,10 +298,24 @@
  "l" #'evil-forward-char
  "L" #'magit-log)
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; Info-mode
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;; NOTE: I find some of the following, existing KBDs useful:
+;;   M-x info-apropos
+;;   u   Info-up
+;;   M-n clone-buffer
 (general-define-key
  :states '(normal)
  :keymaps '(Info-mode-map)
- "RET" #'Info-follow-nearest-node)
+ "SPC" nil
+ "RET" #'Info-follow-nearest-node
+ "<C-tab>" #'Info-next
+ "<C-S-iso-lefttab>" #'Info-prev
+ "g l" #'Info-history-back
+ "g t" #'Info-toc)
+
 
 (provide 'keybindings)
 ;;; keybindings.el ends here