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.
This commit is contained in:
parent
4c809ebf59
commit
990b6278a8
1 changed files with 16 additions and 1 deletions
|
@ -177,6 +177,7 @@
|
||||||
"hk" #'helpful-key
|
"hk" #'helpful-key
|
||||||
"hv" #'helpful-variable
|
"hv" #'helpful-variable
|
||||||
"hp" #'helpful-at-point
|
"hp" #'helpful-at-point
|
||||||
|
"hi" #'info-apropos
|
||||||
"s" #'flyspell-mode
|
"s" #'flyspell-mode
|
||||||
"S" #'sort-lines
|
"S" #'sort-lines
|
||||||
"=" #'align
|
"=" #'align
|
||||||
|
@ -297,10 +298,24 @@
|
||||||
"l" #'evil-forward-char
|
"l" #'evil-forward-char
|
||||||
"L" #'magit-log)
|
"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
|
(general-define-key
|
||||||
:states '(normal)
|
:states '(normal)
|
||||||
:keymaps '(Info-mode-map)
|
: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)
|
(provide 'keybindings)
|
||||||
;;; keybindings.el ends here
|
;;; keybindings.el ends here
|
||||||
|
|
Loading…
Reference in a new issue