on master help sign in
Added Select mode section.
aa5ceban0s4
runtime/tutor.txt+28−6
@@ -307,7 +307,29 @@ _________________________________________________________________
307
307
308
308
309=================================================================
309=================================================================
310+= 3.5 SELECT/EXTEND MODE =
311+=================================================================
312+
313+ Type v to enter Select mode.
314+ Type v again or <ESC> to return to normal mode
315+ In Select mode every movement will extend the selection, as
316+ oppposed to replacing it.
317+
318+ 1. Move the cursor to the line below marked -->.
319+ 2. Move to the F of FOO and type v2w to select the two words.
320+ 3. Type d to remove the two words. Notice d returns you to
321+ Normal mode.
322+ 4. Move to the B of BAZ and repeat the sequence to delete them.
323+
324+ --> Remove the FOO BAR distracting words BAZ BIZ from this line.
325+
326+
327+
328+
329+
330+
331+=================================================================
310−= 3.5 SELECTING LINES =
332+= 3.6 SELECTING LINES =
311=================================================================
333=================================================================
312
334
313 Type x to select a whole line. Type x again to select the next.
335 Type x to select a whole line. Type x again to select the next.
@@ -325,8 +347,8 @@ _________________________________________________________________
325 --> 6) Sugar is sweet,
347 --> 6) Sugar is sweet,
326 --> 7) And so are you.
348 --> 7) And so are you.
327
349
328−
350+ NOTE: X works similarly to x although it does not extend to
329−
351+ subsequent lines. X on an empty line does nothing.
330
352
331=================================================================
353=================================================================
332= CHAPTER 3 RECAP =
354= CHAPTER 3 RECAP =
@@ -344,12 +366,12 @@ _________________________________________________________________
344
366
345 * Type a number before a motion to repeat it that many times.
367 * Type a number before a motion to repeat it that many times.
346
368
369+ * Type v to enter Select mode, where all motions extend the
370+ selection.
371+
347 * Type x to select the entire current line. Type x again to
372 * Type x to select the entire current line. Type x again to
348 select the next line.
373 select the next line.
349
374
350−
351−
352−
353=================================================================
375=================================================================
354= 4.1 UNDOING =
376= 4.1 UNDOING =
355=================================================================
377=================================================================