Skip to content

Commit

Permalink
Add Shift-Page Up/Down keybindings (zyedidia#3407)
Browse files Browse the repository at this point in the history
* Add Shift-Page Up/Down keybindings in defaults_other.go

* Add Shift-Page Up/Down keybindings in defaults_darwin.go

* Document Shift-Page Up/Down keybindings in keybindings.md

* Fix indentation
  • Loading branch information
injust authored Jul 31, 2024
1 parent b8772b6 commit 2259fd1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/action/defaults_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ var bufdefaults = map[string]string{
"PageDown": "CursorPageDown",
"CtrlPageUp": "PreviousTab",
"CtrlPageDown": "NextTab",
"ShiftPageUp": "SelectPageUp",
"ShiftPageDown": "SelectPageDown",
"Ctrl-g": "ToggleHelp",
"Alt-g": "ToggleKeyMenu",
"Ctrl-r": "ToggleRuler",
Expand Down
2 changes: 2 additions & 0 deletions internal/action/defaults_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ var bufdefaults = map[string]string{
"PageDown": "CursorPageDown",
"CtrlPageUp": "PreviousTab",
"CtrlPageDown": "NextTab",
"ShiftPageUp": "SelectPageUp",
"ShiftPageDown": "SelectPageDown",
"Ctrl-g": "ToggleHelp",
"Alt-g": "ToggleKeyMenu",
"Ctrl-r": "ToggleRuler",
Expand Down
2 changes: 2 additions & 0 deletions runtime/help/keybindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ conventions for text editing defaults.
"PageDown": "CursorPageDown",
"CtrlPageUp": "PreviousTab",
"CtrlPageDown": "NextTab",
"ShiftPageUp": "SelectPageUp",
"ShiftPageDown": "SelectPageDown",
"Ctrl-g": "ToggleHelp",
"Alt-g": "ToggleKeyMenu",
"Ctrl-r": "ToggleRuler",
Expand Down

0 comments on commit 2259fd1

Please sign in to comment.