1- *change.txt* For Vim version 7.3. Last change: 2011 Feb 25
1+ *change.txt* For Vim version 7.3. Last change: 2011 May 17
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -522,11 +522,11 @@ comment (starting with '"') after the ":!" command.
522522={motion} Filter {motion} lines through the external program
523523 given with the 'equalprg' option. When the 'equalprg'
524524 option is empty (this is the default), use the
525- internal formatting function | C-indenting | . But when
526- ' indentexpr' is not empty, it will be used instead
527- | indent-expression | . When Vim was compiled without
528- internal formatting then the "indent" program is used
529- as a last resort.
525+ internal formatting function | C-indenting | and
526+ | 'lisp' | . But when ' indentexpr' is not empty, it will
527+ be used instead | indent-expression | . When Vim was
528+ compiled without internal formatting then the "indent"
529+ program is used as a last resort.
530530
531531 *==*
532532== Filter [count] lines like with ={motion} .
@@ -919,8 +919,8 @@ inside of strings can change! Also see 'softtabstop' option. >
919919
920920 *:y* *:yank* *E850*
921921:[range] y[ank] [x] Yank [range] lines [into register x]. Yanking to the
922- "* or "+ registers is possible only in GUI versions or
923- when the | +xterm_clipboard | feature is included.
922+ "* or "+ registers is possible only when the
923+ | +clipboard | feature is included.
924924
925925:[range] y[ank] [x] {count}
926926 Yank {count} lines, starting with last line number
@@ -1390,16 +1390,19 @@ before typing anything else on the new line. This will replace the
13901390middle-comment leader with the end-comment leader and apply any specified
13911391alignment, leaving just " */". There is no need to hit BackSpace first.
13921392
1393+ When there is a match with a middle part, but there also is a maching end part
1394+ which is longer, the end part is used. This makes a C style comment work
1395+ without requiring the middle part to end with a space.
13931396
13941397Here is an example of alignment flags at work to make a comment stand out
1395- (kind of looks like a 1 too). Consider comment string >
1396- sr:/***,m:**,ex2 :******/
1397-
1398- /***
1399- **<--right aligned from "r" flag
1400- **
1401- offset 2 spaces from the "2" flag--->**
1402- ******/
1398+ (kind of looks like a 1 too). Consider comment string: >
1399+ :set comments= sr:/***,m:**,ex-2 :******/
1400+ <
1401+ /*** ~
1402+ **<--right aligned from "r" flag ~
1403+ ** ~
1404+ offset 2 spaces for the "- 2" flag--->** ~
1405+ ******/ ~
14031406In this case, the first comment was typed, then return was pressed 4 times,
14041407then "/" was pressed to end the comment.
14051408
@@ -1417,8 +1420,8 @@ Reindenting using a different method like |gq| or |=| will not consult
14171420alignment flags either. The same behaviour can be defined in those other
14181421formatting options. One consideration is that 'cindent' has additional options
14191422for context based indenting of comments but cannot replicate many three piece
1420- indent alignments. However, 'indentexpr' is has the ability to work better
1421- with three piece comments.
1423+ indent alignments. However, 'indentexpr' has the ability to work better with
1424+ three piece comments.
14221425
14231426Other examples: >
14241427 "b:*" Includes lines starting with "*", but not if the "*" is
0 commit comments