Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In navigation layer, Bind J/K to scroll up/down in Info-mode #14188

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.develop
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ sane way, here is the complete list of changed key bindings
- Changed =projectile-rails= key binding prefix from ~SPC m r~ to ~SPC m f~
to avoid conflicts with key bindings in the =web-mode= layer
(thanks to Adam Sokolnicki)
***** Spacemacs-navigation
- Key bindings:
- Add ~J/K~ to scroll up/down (or next/previous node) in Info-mode
***** Shaders
- =shaders= layer has been moved to =gpu= layer.
***** Syntax checking
Expand Down
2 changes: 2 additions & 0 deletions doc/DOCUMENTATION.org
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,8 @@ Navigation key bindings in =help-mode=:

| Key binding | Description |
|--------------+-----------------------------------------------------|
| ~J~ | Scroll up (or next node) |
| ~K~ | Scroll down (or next node) |
| ~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 |
Expand Down
2 changes: 2 additions & 0 deletions layers/+spacemacs/spacemacs-navigation/local/info+/info+.el
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,8 @@
(define-key Info-mode-map "?" 'describe-mode) ; Don't use `Info-summary'.
(define-key Info-mode-map "+" 'Info-merge-subnodes)
(define-key Info-mode-map "." 'Info-save-current-node)
(define-key Info-mode-map "J" 'Info-scroll-up)
(define-key Info-mode-map "K" 'Info-scroll-down)
(define-key Info-mode-map "a" 'info-apropos)
(define-key Info-mode-map "G" 'Info-goto-node-web)
(define-key Info-mode-map "O" 'Info-toc-outline)
Expand Down