aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorjw0132024-01-08 02:11:18 +0000
committerGitHub2024-01-08 02:11:18 +0000
commit00d681cc69fcc0d58f3603709400d26ea2647114 (patch)
tree9d9225fcdce51fba96c4882f7e7b8c2c17d9ceda /helix-term
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 'helix-term')
-rw-r--r--helix-term/src/commands.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 1b8f9e1f..ff0849f2 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -337,9 +337,9 @@ impl MappableCommand {
goto_implementation, "Goto implementation",
goto_file_start, "Goto line number <n> else file start",
goto_file_end, "Goto file end",
- goto_file, "Goto files/URLs in selection",
- goto_file_hsplit, "Goto files in selection (hsplit)",
- goto_file_vsplit, "Goto files in selection (vsplit)",
+ goto_file, "Goto files/URLs in selections",
+ goto_file_hsplit, "Goto files in selections (hsplit)",
+ goto_file_vsplit, "Goto files in selections (vsplit)",
goto_reference, "Goto references",
goto_window_top, "Goto window top",
goto_window_center, "Goto window center",