on master help sign in
Change text for gg to explain <n>gg (#1287)
commitf174d27d0d1ab5d981c6902a54035db4ffde839f authorIvan Tham <pickfire@riseup.net> dateSat 18 Dec 2021, 22:58 (5 years ago) parent02fc52f
2 files changed+2−2
book/src/keymap.md+1−1 helix-term/src/commands.rs+1−1
book/src/keymap.md+1−1
@@ -161,7 +161,7 @@ Jumps to various locations.
161161
162162| Key | Description | Command |
163163| ----- | ----------- | ------- |
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` |
165165| `e` | Go to the end of the file | `goto_last_line` |
166166| `f` | Go to files in the selection | `goto_file` |
167167| `h` | Go to the start of the line | `goto_line_start` |
helix-term/src/commands.rs+1−1
@@ -287,7 +287,7 @@ impl MappableCommand {
287287 add_newline_below, "Add newline below",
288288 goto_type_definition, "Goto type definition",
289289 goto_implementation, "Goto implementation",
290− goto_file_start, "Goto file start/line",
290+ goto_file_start, "Goto line number <n> else file start",
291291 goto_file_end, "Goto file end",
292292 goto_file, "Goto files in selection",
293293 goto_file_hsplit, "Goto files in selection (hsplit)",