Mercurial > vim
comparison runtime/doc/fold.txt @ 8:7edf9b6e4c36
Various changes
author | vimboss |
---|---|
date | Wed, 16 Jun 2004 11:19:22 +0000 |
parents | 3fc0f57ecb91 |
children | f6033dcbaf31 |
comparison
equal
deleted
inserted
replaced
7:3fc0f57ecb91 | 8:7edf9b6e4c36 |
---|---|
1 *fold.txt* For Vim version 7.0aa. Last change: 2004 May 20 | 1 *fold.txt* For Vim version 7.0aa. Last change: 2004 Jun 14 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
562 | 562 |
563 When using an operator, a closed fold is included as a whole. Thus "dl" | 563 When using an operator, a closed fold is included as a whole. Thus "dl" |
564 deletes the whole closed fold under the cursor. | 564 deletes the whole closed fold under the cursor. |
565 | 565 |
566 For Ex commands the range is adjusted to always start at the first line of a | 566 For Ex commands the range is adjusted to always start at the first line of a |
567 fold and end at the last line of a fold. Thus this command: > | 567 closed fold and end at the last line of a closed fold. Thus this command: > |
568 :s/foo/bar/g | 568 :s/foo/bar/g |
569 when used with the cursor on a closed fold, will replace "foo" with "bar" in | 569 when used with the cursor on a closed fold, will replace "foo" with "bar" in |
570 all lines of the fold. | 570 all lines of the fold. |
571 This does not happen for |:folddoopen| and |:folddoclosed|. | 571 This does not happen for |:folddoopen| and |:folddoclosed|. |
572 | 572 |