helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit 5f3fb4752de3868e688ff2046790bda569bb6e23
parent ffe44784e833d3376dd460bb73073bd9bc68031d
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Sun,  8 Jul 2018 21:54:55 +0100

Add n and p as movement keybindings

We might want to use TAB in future for other things, perhaps
expanding/collapsing headings.

Diffstat:
MCHANGELOG.md | 3+++
Mhelpful.el | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -17,6 +17,9 @@ Fixed a crash on keymaps where keys are bound to anonymous functions. Improved performance (PR by @nickdrozd). +It's now possible to move between buttons in the Helpful buffer with +`n` and `p`. + # v0.11 Further work on syntax highlighting performance for large code diff --git a/helpful.el b/helpful.el @@ -2193,5 +2193,8 @@ See also `helpful-max-buffers'." (define-key helpful-mode-map (kbd "TAB") #'forward-button) (define-key helpful-mode-map (kbd "<backtab>") #'backward-button) +(define-key helpful-mode-map (kbd "n") #'forward-button) +(define-key helpful-mode-map (kbd "p") #'backward-button) + (provide 'helpful) ;;; helpful.el ends here