Skip to content

Commit

Permalink
Add tutor entry about 2-character label jump (helix-editor#11273)
Browse files Browse the repository at this point in the history
* Add tutor entry about 2-character label jump

* Move gw tutor to chapter 9

* Do not explicitely say which labels are shown following gw
  • Loading branch information
jerabaul29 authored and SofusA committed Aug 4, 2024
1 parent d9dbee6 commit 1e589c9
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions runtime/tutor
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,28 @@ lines.



=================================================================
= 9.4 JUMP WITH TWO-CHARACTER LABELS =
=================================================================

Type gw to enable the 2-character labels. The start of each word
will be replaced by 2 highlighted characters. Type any sequence
of 2 highlighted characters to jump to the corresponding label,
or use ESC to drop the labels.

The 2-character labels allow to quickly jump to any location
in the viewable selection.

1. Move the cursor to the start of the line marked '-->' below.
2. Press gw to enable the 2-character labels, and then the two
characters that replace the two leters he at the start of
here to jump to the corresponding word.

--> This is just a simple line of text.
There may be many such lines
But you really want to jump here!
This is fast with the 2-character labels.

=================================================================
= CHAPTER 9 RECAP =
=================================================================
Expand All @@ -1001,8 +1023,8 @@ lines.
* Press Ctrl-i and Ctrl-o to go forward and backward in the
jumplist.



* Type gw to enable 2-characters labels, and any 2 characters
to jump to the corresponding label, or ESC to drop the labels.



Expand Down

0 comments on commit 1e589c9

Please sign in to comment.