@@ -1036,15 +1036,15 @@ letters! that is not good grammar. you can fix this.
1036
1036
= CHAPTER 10 RECAP =
1037
1037
=================================================================
1038
1038
1039
- * Use ) and ( to cycle the primary selection back and forward
1039
+ * use ) and ( to cycle the primary selection back and forward
1040
1040
through selections respectively.
1041
- * Type Alt -, to remove the primary selection.
1041
+ * type alt -, to remove the primary selection.
1042
1042
1043
- * Type ~ to alternate case of selected letters.
1044
- * Use ` and Alt -` to set the case of selected letters to
1043
+ * type ~ to alternate case of selected letters.
1044
+ * use ` and alt -` to set the case of selected letters to
1045
1045
upper and lower respectively.
1046
1046
1047
- * Type S to split selections on regex.
1047
+ * type s to split selections on regex.
1048
1048
1049
1049
1050
1050
@@ -1055,10 +1055,58 @@ letters! that is not good grammar. you can fix this.
1055
1055
1056
1056
1057
1057
=================================================================
1058
- = =
1058
+ = 11.1 COMMENTING A LINE =
1059
1059
=================================================================
1060
1060
1061
+ Type Ctrl-c to comment the line under your cursor.
1062
+ To uncomment the line, press Ctrl-c again.
1061
1063
1064
+ 1. Move your cursor to the line marked '-->' below.
1065
+ 2. Now comment the line marked with '-->'.
1066
+ 3. Now try uncommenting the line.
1067
+
1068
+ --> Comment me please
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+ =================================================================
1080
+ = 11.2 COMMENTING MULTIPLE LINES =
1081
+ =================================================================
1082
+
1083
+ Using the selections and multi-cursor functionality, you can
1084
+ comment multiple lines as long as it is under the selection or
1085
+ cursors.
1086
+
1087
+ 1. Move your cursor to the line marked with '-->' below.
1088
+ 2. Now try to select or add more cursors the other lines marked
1089
+ with '-->'.
1090
+ 3. Comment those lines.
1091
+
1092
+ --> How many are you going to comment?
1093
+ --> Is this enough for a comment?
1094
+ --> What are you doing?!
1095
+ --> Stop commenting me!
1096
+ --> AAAAaargh!!!
1097
+
1098
+ Note: If there are already commented lines under selections or
1099
+ multiple cursors, they won't be uncommented but commented again.
1100
+
1101
+ =================================================================
1102
+ = CHAPTER 11 RECAP =
1103
+ =================================================================
1104
+
1105
+ * Use Ctrl-c to comment a line under your cursor. Type Ctrl-c
1106
+ again to uncomment.
1107
+ * To comment multiple lines, use the selections
1108
+ and multi-cursors before typing Ctrl-c.
1109
+ * Commented lines cannot be uncommented but commented again.
1062
1110
1063
1111
1064
1112
0 commit comments