aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorBob2021-11-29 01:53:29 +0000
committerGitHub2021-11-29 01:53:29 +0000
commit4f9390a435a44578bcedf1da63ea1fad92185afc (patch)
tree8b13ba9576412a1c58b18611c7aac0fef7e17c11 /book/src
parent6f1a7b1220c2ae565a2542fb089eb6d87f0a9421 (diff)
gf as goto_file (#1102)
* goto_file * support goto_file under current cursor * add C-w f/F * sync space w with window mode * Update helix-term/src/commands.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'book/src')
-rw-r--r--book/src/keymap.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 5e861cfb..865a700b 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -160,6 +160,7 @@ Jumps to various locations.
| ----- | ----------- | ------- |
| `g` | Go to the start of the 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` |
| `l` | Go to the end of the line | `goto_line_end` |
| `s` | Go to first non-whitespace character of the line | `goto_first_nonwhitespace` |
@@ -202,6 +203,8 @@ This layer is similar to vim keybindings as kakoune does not support window.
| `v`, `Ctrl-v` | Vertical right split | `vsplit` |
| `s`, `Ctrl-s` | Horizontal bottom split | `hsplit` |
| `h`, `Ctrl-h`, `left` | Move to left split | `jump_view_left` |
+| `f` | Go to files in the selection in horizontal splits | `goto_file` |
+| `F` | Go to files in the selection in vertical splits | `goto_file` |
| `j`, `Ctrl-j`, `down` | Move to split below | `jump_view_down` |
| `k`, `Ctrl-k`, `up` | Move to split above | `jump_view_up` |
| `l`, `Ctrl-l`, `right` | Move to right split | `jump_view_right` |