aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorIvan Tham2021-12-02 04:46:57 +0000
committerGitHub2021-12-02 04:46:57 +0000
commite2b428cc2d23965ab7a91809c5705ede0298107d (patch)
tree35484052f5c54deba2ee9e842f693043452bc38f /book/src
parent418b833d2b64ed986cfc84ca023e1a6ca5080008 (diff)
Add last modified file (gm) (#1093)
Diffstat (limited to 'book/src')
-rw-r--r--book/src/keymap.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 865a700b..59353db9 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -165,13 +165,14 @@ Jumps to various locations.
| `l` | Go to the end of the line | `goto_line_end` |
| `s` | Go to first non-whitespace character of the line | `goto_first_nonwhitespace` |
| `t` | Go to the top of the screen | `goto_window_top` |
-| `m` | Go to the middle of the screen | `goto_window_middle` |
+| `c` | Go to the middle of the screen | `goto_window_center` |
| `b` | Go to the bottom of the screen | `goto_window_bottom` |
| `d` | Go to definition (**LSP**) | `goto_definition` |
| `y` | Go to type definition (**LSP**) | `goto_type_definition` |
| `r` | Go to references (**LSP**) | `goto_reference` |
| `i` | Go to implementation (**LSP**) | `goto_implementation` |
| `a` | Go to the last accessed/alternate file | `goto_last_accessed_file` |
+| `m` | Go to the last modified/alternate file | `goto_last_modified_file` |
| `n` | Go to next buffer | `goto_next_buffer` |
| `p` | Go to previous buffer | `goto_previous_buffer` |
| `.` | Go to last modification in current file | `goto_last_modification` |