Unnamed repository; edit this file 'description' to name the repository.
fix(tutor): recommend `e` instead of `w` for selecting word
I was doing the tutorial to learn Helix, and it's more sensible to use
`e` than `w`.
If you're using `w`, you will need to add an extra space.
Example, assuming cursor is at |:
This sentence has incorrect words |behind it.
If you use `wc`, then you will get:
This sentence has incorrect words |it.
while `ec` will give you
This sentence has incorrect words | it.
Which enables you to drop removing and adding a space for no reason.
| -rw-r--r-- | runtime/tutor | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/tutor b/runtime/tutor index f94e2a20..c96058e0 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -316,7 +316,7 @@ Insert mode, so it is a very common shorthand for di. 1. Move the cursor to the line marked '-->' below. - 2. Move to the start of an incorrect word and type w to + 2. Move to the start of an incorrect word and type e to select it. 3. Type c to delete the word and enter Insert mode. 4. Type the correct word. |