mirror of https://github.com/helix-editor/helix
tutor: Trim trailing white space (#6919)
parent
f52e81b1f3
commit
5dcc891996
|
@ -23,7 +23,7 @@
|
||||||
=================================================================
|
=================================================================
|
||||||
= INTRODUCTION =
|
= INTRODUCTION =
|
||||||
=================================================================
|
=================================================================
|
||||||
|
|
||||||
Welcome to the Helix editor! Helix is different from editors
|
Welcome to the Helix editor! Helix is different from editors
|
||||||
you might be used to in that it is modal, meaning that it has
|
you might be used to in that it is modal, meaning that it has
|
||||||
different modes for editing text. The primary modes you will
|
different modes for editing text. The primary modes you will
|
||||||
|
@ -1146,13 +1146,13 @@ To uncomment the line, press Ctrl-c again.
|
||||||
= 11.2 COMMENTING MULTIPLE LINES =
|
= 11.2 COMMENTING MULTIPLE LINES =
|
||||||
=================================================================
|
=================================================================
|
||||||
|
|
||||||
Using the selections and multi-cursor functionality, you can
|
Using the selections and multi-cursor functionality, you can
|
||||||
comment multiple lines as long as it is under the selection or
|
comment multiple lines as long as it is under the selection or
|
||||||
cursors.
|
cursors.
|
||||||
|
|
||||||
1. Move your cursor to the line marked with '-->' below.
|
1. Move your cursor to the line marked with '-->' below.
|
||||||
2. Now try to select or add more cursors the other lines marked
|
2. Now try to select or add more cursors the other lines marked
|
||||||
with '-->'.
|
with '-->'.
|
||||||
3. Comment those lines.
|
3. Comment those lines.
|
||||||
|
|
||||||
--> How many are you going to comment?
|
--> How many are you going to comment?
|
||||||
|
@ -1170,7 +1170,7 @@ multiple cursors, they won't be uncommented but commented again.
|
||||||
|
|
||||||
* Use Ctrl-c to comment a line under your cursor. Press Ctrl-c
|
* Use Ctrl-c to comment a line under your cursor. Press Ctrl-c
|
||||||
again to uncomment.
|
again to uncomment.
|
||||||
* To comment multiple lines, use the selections
|
* To comment multiple lines, use the selections
|
||||||
and multi-cursors before typing Ctrl-c.
|
and multi-cursors before typing Ctrl-c.
|
||||||
* Commented lines cannot be uncommented but commented again.
|
* Commented lines cannot be uncommented but commented again.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue