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.
pull/11441/head
Christian Fredrik Johnsen 2025-05-20 16:10:17 +02:00 committed by Michael Davis
parent 237d875e7d
commit 1edf98262c
1 changed files with 1 additions and 1 deletions

View File

@ -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.