diff options
author | Ivan Tham | 2021-12-18 14:58:17 +0000 |
---|---|---|
committer | GitHub | 2021-12-18 14:58:17 +0000 |
commit | f174d27d0d1ab5d981c6902a54035db4ffde839f (patch) | |
tree | 34dfd5e7057ffe4c2a3fb79d5f639a61042bc0b2 | |
parent | 02fc52f6d52c91c691dd2b7f9312b81aa20b8cbb (diff) |
Change text for gg to explain <n>gg (#1287)
-rw-r--r-- | book/src/keymap.md | 2 | ||||
-rw-r--r-- | helix-term/src/commands.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md index f0a2cb30..d84b17b8 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -161,7 +161,7 @@ Jumps to various locations. | Key | Description | Command | | ----- | ----------- | ------- | -| `g` | Go to the start of the file | `goto_file_start` | +| `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` | | `h` | Go to the start of the line | `goto_line_start` | diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 48dccff2..28f955eb 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -287,7 +287,7 @@ impl MappableCommand { add_newline_below, "Add newline below", goto_type_definition, "Goto type definition", goto_implementation, "Goto implementation", - goto_file_start, "Goto file start/line", + goto_file_start, "Goto line number <n> else file start", goto_file_end, "Goto file end", goto_file, "Goto files in selection", goto_file_hsplit, "Goto files in selection (hsplit)", |