Skip to content

Commit

Permalink
Explain how to enter Select mode in keymap (helix-editor#7333)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
thomasaarholt authored and mtoohey31 committed Jun 2, 2024
1 parent 128ef2b commit 0974c0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions book/src/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0974c0d

Please sign in to comment.