Skip to content

Commit

Permalink
commands: jump instead of selecting for c-{fdbu} (fixes #224)
Browse files Browse the repository at this point in the history
  • Loading branch information
71 committed Dec 27, 2021
1 parent 9e3bbe9 commit 9265b42
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 20 deletions.
24 changes: 16 additions & 8 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/api/keybindings/built-in.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/commands/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/commands/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ const preferredColumnsToken =
*
* The following keybindings are also defined:
*
* | Keybinding | Command |
* | ------------------------------ | ----------------------------------------------------------- |
* | `c-f` (normal), `c-f` (insert) | `[".select.vertically", { direction: 1, by: "page" }]` |
* | `c-d` (normal), `c-d` (insert) | `[".select.vertically", { direction: 1, by: "halfPage" }]` |
* | `c-b` (normal), `c-b` (insert) | `[".select.vertically", { direction: -1, by: "page" }]` |
* | `c-u` (normal), `c-u` (insert) | `[".select.vertically", { direction: -1, by: "halfPage" }]` |
* | Keybinding | Command |
* | ------------------------------ | -------------------------------------------------------------------------- |
* | `c-f` (normal), `c-f` (insert) | `[".select.vertically", { direction: 1, by: "page" , shift: "jump" }]` |
* | `c-d` (normal), `c-d` (insert) | `[".select.vertically", { direction: 1, by: "halfPage", shift: "jump" }]` |
* | `c-b` (normal), `c-b` (insert) | `[".select.vertically", { direction: -1, by: "page" , shift: "jump" }]` |
* | `c-u` (normal), `c-u` (insert) | `[".select.vertically", { direction: -1, by: "halfPage", shift: "jump" }]` |
*/
export function vertically(
_: Context,
Expand Down

0 comments on commit 9265b42

Please sign in to comment.