on master help sign in
Change text for gg to explain <n>gg (#1287)
f174d27Ivan Tham
book/src/keymap.md+1−1
@@ -161,7 +161,7 @@ Jumps to various locations.
161
161
162| Key | Description | Command |
162| Key | Description | Command |
163| ----- | ----------- | ------- |
163| ----- | ----------- | ------- |
164−| `g` | Go to the start of the file | `goto_file_start` |
164+| `g` | Go to line number `<n>` else start of file | `goto_file_start` |
165| `e` | Go to the end of the file | `goto_last_line` |
165| `e` | Go to the end of the file | `goto_last_line` |
166| `f` | Go to files in the selection | `goto_file` |
166| `f` | Go to files in the selection | `goto_file` |
167| `h` | Go to the start of the line | `goto_line_start` |
167| `h` | Go to the start of the line | `goto_line_start` |
helix-term/src/commands.rs+1−1
@@ -287,7 +287,7 @@ impl MappableCommand {
287 add_newline_below, "Add newline below",
287 add_newline_below, "Add newline below",
288 goto_type_definition, "Goto type definition",
288 goto_type_definition, "Goto type definition",
289 goto_implementation, "Goto implementation",
289 goto_implementation, "Goto implementation",
290− goto_file_start, "Goto file start/line",
290+ goto_file_start, "Goto line number <n> else file start",
291 goto_file_end, "Goto file end",
291 goto_file_end, "Goto file end",
292 goto_file, "Goto files in selection",
292 goto_file, "Goto files in selection",
293 goto_file_hsplit, "Goto files in selection (hsplit)",
293 goto_file_hsplit, "Goto files in selection (hsplit)",