core-keys: Make TAB more useful in help buffers

In help buffers, TAB in emacs state allows you to jump through the
links. This allows for the same behavior in motion state. This is very
useful for jumping to function definitions.
This commit is contained in:
justbur 2015-10-12 11:00:56 -04:00 committed by syl20bnr
parent f5fb2f654a
commit c5e01eb781

View file

@ -45,6 +45,10 @@
(global-set-key (kbd "<left-margin> <double-mouse-1>") 'spacemacs/select-current-block)
(global-set-key (kbd "<left-margin> <drag-mouse-1>") 'spacemacs/mu-select-linum)
;; let TAB jump between links in help buffers
(evil-define-key 'motion help-mode-map (kbd "TAB") 'forward-button)
(evil-define-key 'motion help-mode-map (kbd "S-TAB") 'backward-button)
;; ---------------------------------------------------------------------------
;; evil-leader key bindings
;; ---------------------------------------------------------------------------