aboutsummaryrefslogtreecommitdiff
path: root/book/src/keymap.md
diff options
context:
space:
mode:
authorjw0132024-01-08 02:11:18 +0000
committerGitHub2024-01-08 02:11:18 +0000
commit00d681cc69fcc0d58f3603709400d26ea2647114 (patch)
tree9d9225fcdce51fba96c4882f7e7b8c2c17d9ceda /book/src/keymap.md
parentc8e58304bf4b1b327067bd92ca6e3c9db897c572 (diff)
Update goto_file docs (#8563) (#9001)
Make the pluralization of files and selections consistent to emphasize the 1-to-1 relation between files and selections. The prior wording with plural "files" and singular "selection" can mislead users into thinking the command can open multiple files from a single selection.
Diffstat (limited to 'book/src/keymap.md')
-rw-r--r--book/src/keymap.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index c6981b28..a3e41666 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -205,7 +205,7 @@ Jumps to various locations.
| ----- | ----------- | ------- |
| `g` | Go to line number `<n>` else start of file | `goto_file_start` |
| `e` | Go to the end of the file | `goto_last_line` |
-| `f` | Go to files in the selection | `goto_file` |
+| `f` | Go to files in the selections | `goto_file` |
| `h` | Go to the start of the line | `goto_line_start` |
| `l` | Go to the end of the line | `goto_line_end` |
| `s` | Go to first non-whitespace character of the line | `goto_first_nonwhitespace` |
@@ -253,8 +253,8 @@ This layer is similar to Vim keybindings as Kakoune does not support windows.
| `w`, `Ctrl-w` | Switch to next window | `rotate_view` |
| `v`, `Ctrl-v` | Vertical right split | `vsplit` |
| `s`, `Ctrl-s` | Horizontal bottom split | `hsplit` |
-| `f` | Go to files in the selection in horizontal splits | `goto_file` |
-| `F` | Go to files in the selection in vertical splits | `goto_file` |
+| `f` | Go to files in the selections in horizontal splits | `goto_file` |
+| `F` | Go to files in the selections in vertical splits | `goto_file` |
| `h`, `Ctrl-h`, `Left` | Move to left split | `jump_view_left` |
| `j`, `Ctrl-j`, `Down` | Move to split below | `jump_view_down` |
| `k`, `Ctrl-k`, `Up` | Move to split above | `jump_view_up` |