From 1edf98262c34d489400d3484602b77c592b94e89 Mon Sep 17 00:00:00 2001 From: Christian Fredrik Johnsen Date: Tue, 20 May 2025 16:10:17 +0200 Subject: [PATCH] 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. --- runtime/tutor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/tutor b/runtime/tutor index f94e2a202..c96058e03 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.