comparison runtime/doc/motion.txt @ 20:4ac1dce8dd5e v7.0012

updated for version 7.0012
author vimboss
date Mon, 26 Jul 2004 12:53:41 +0000
parents bdeee1504ac1
children 8ff7fd162d3c
comparison
equal deleted inserted replaced
19:a81bc802c17c 20:4ac1dce8dd5e
1 *motion.txt* For Vim version 7.0aa. Last change: 2004 Jul 02 1 *motion.txt* For Vim version 7.0aa. Last change: 2004 Jul 25
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
81 are however, two general exceptions: 81 are however, two general exceptions:
82 1. If the motion is exclusive and the end of the motion is in column 1, the 82 1. If the motion is exclusive and the end of the motion is in column 1, the
83 end of the motion is moved to the end of the previous line and the motion 83 end of the motion is moved to the end of the previous line and the motion
84 becomes inclusive. Example: "}" moves to the first line after a paragraph, 84 becomes inclusive. Example: "}" moves to the first line after a paragraph,
85 but "d}" will not include that line. 85 but "d}" will not include that line.
86 *exclusive-linewise*
86 2. If the motion is exclusive, the end of the motion is in column 1 and the 87 2. If the motion is exclusive, the end of the motion is in column 1 and the
87 start of the motion was at or before the first non-blank in the line, the 88 start of the motion was at or before the first non-blank in the line, the
88 motion becomes linewise. Example: If a paragraph begins with some blanks 89 motion becomes linewise. Example: If a paragraph begins with some blanks
89 and you do "d}" while standing on the first non-blank, all the lines of 90 and you do "d}" while standing on the first non-blank, all the lines of
90 the paragraph are deleted, including the blanks. If you do a put now, the 91 the paragraph are deleted, including the blanks. If you do a put now, the
422 *}* 423 *}*
423 } [count] paragraphs forward. |exclusive| motion. 424 } [count] paragraphs forward. |exclusive| motion.
424 425
425 *]]* 426 *]]*
426 ]] [count] sections forward or to the next '{' in the 427 ]] [count] sections forward or to the next '{' in the
427 first column. When used after an operator, then the 428 first column. When used after an operator, then also
428 '}' in the first column. |linewise| 429 stops below a '}' in the first column. |exclusive|
430 Note that |exclusive-linewise| often applies.
429 431
430 *][* 432 *][*
431 ][ [count] sections forward or to the next '}' in the 433 ][ [count] sections forward or to the next '}' in the
432 first column. |linewise| 434 first column. |exclusive|
435 Note that |exclusive-linewise| often applies.
433 436
434 *[[* 437 *[[*
435 [[ [count] sections backward or to the previous '{' in 438 [[ [count] sections backward or to the previous '{' in
436 the first column. |linewise| 439 the first column. |exclusive|
440 Note that |exclusive-linewise| often applies.
437 441
438 *[]* 442 *[]*
439 [] [count] sections backward or to the previous '}' in 443 [] [count] sections backward or to the previous '}' in
440 the first column. |linewise| 444 the first column. |exclusive|
445 Note that |exclusive-linewise| often applies.
441 446
442 These commands move over three kinds of text objects. 447 These commands move over three kinds of text objects.
443 448
444 *sentence* 449 *sentence*
445 A sentence is defined as ending at a '.', '!' or '?' followed by either the 450 A sentence is defined as ending at a '.', '!' or '?' followed by either the