aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Aarholt2023-06-13 15:07:12 +0000
committerGitHub2023-06-13 15:07:12 +0000
commitcbe2308210e0a5fb53ab8771ab3cbfb906b79a30 (patch)
tree3dbda05705ab6a083523674080f2bd6e88530d90
parent4d8c9a394ebfde3d1e0015f9632499f44ca28c57 (diff)
Explain how to enter Select mode in keymap (#7333)
* Explain how to enter Select mode Also added an equivalent explanation that Insert mode is the default, with how to return to it. * Fix glarious typo
-rw-r--r--book/src/keymap.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index add73191..153f3b64 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -25,6 +25,8 @@
## Normal mode
+Normal mode is the default mode when you launch helix. Return to it from other modes by typing `Escape`.
+
### Movement
> NOTE: Unlike Vim, `f`, `F`, `t` and `T` are not confined to the current line.
@@ -337,6 +339,8 @@ These mappings are in the style of [vim-unimpaired](https://github.com/tpope/vim
## Insert mode
+Accessed by typing `i` in [normal mode](#normal-mode).
+
Insert mode bindings are minimal by default. Helix is designed to
be a modal editor, and this is reflected in the user experience and internal
mechanics. Changes to the text are only saved for undos when
@@ -390,6 +394,8 @@ end = "no_op"
## Select / extend mode
+Accessed by typing `v` in [normal mode](#normal-mode).
+
Select mode echoes Normal mode, but changes any movements to extend
selections rather than replace them. Goto motions are also changed to
extend, so that `vgl`, for example, extends the selection to the end of