change `mhh` for `gh` to follow-symbol in help buffers

Also document the key bindings
This commit is contained in:
syl20bnr 2015-12-09 01:08:52 -05:00
parent ccb5ce5578
commit 5895e0e45f
2 changed files with 9 additions and 1 deletions

View File

@ -1311,6 +1311,14 @@ Other help key bindings:
| ~SPC h L~ | go to library a implementation |
| ~SPC h m~ | search available man pages |
Navigation key bindings in =help-mode=:
| Key Binding | Description |
|--------------+-----------------------------------------------------|
| ~g b~ or ~[~ | go back (same as clicking on =[back]= button) |
| ~g f~ or ~]~ | go forward (same as clicking on =[forward]= button) |
| ~g h~ | go to help for symbol under point |
*** Available layers
All layers can be easily discovered via =helm-spacemacs= accessible with ~SPC f
e h~.

View File

@ -54,7 +54,7 @@
(evil-define-key 'motion help-mode-map (kbd "gf") 'help-go-forward)
(evil-define-key 'motion help-mode-map (kbd "[") 'help-go-back)
(evil-define-key 'motion help-mode-map (kbd "gb") 'help-go-back)
(evil-define-key 'motion help-mode-map (kbd "mmh") 'help-follow-symbol)
(evil-define-key 'motion help-mode-map (kbd "gh") 'help-follow-symbol)
;; ---------------------------------------------------------------------------
;; evil-leader key bindings