|
1 | | -*change.txt* For Vim version 7.4. Last change: 2015 Jan 27 |
| 1 | +*change.txt* For Vim version 7.4. Last change: 2015 Feb 10 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -1192,12 +1192,14 @@ if none of buffers matches the given name. |
1192 | 1192 | 7. Expression register "= *quote_=* *quote=* *@=* |
1193 | 1193 | This is not really a register that stores text, but is a way to use an |
1194 | 1194 | expression in commands which use a register. The expression register is |
1195 | | -read-only; you cannot put text into it. After the '=', the cursor moves to |
1196 | | -the command-line, where you can enter any expression (see |expression|). All |
1197 | | -normal command-line editing commands are available, including a special |
1198 | | -history for expressions. When you end the command-line by typing <CR>, Vim |
1199 | | -computes the result of the expression. If you end it with <Esc>, Vim abandons |
1200 | | -the expression. If you do not enter an expression, Vim uses the previous |
| 1195 | +read-write. |
| 1196 | + |
| 1197 | +When typing the '=' after " or CTRL-R the cursor moves to the command-line, |
| 1198 | +where you can enter any expression (see |expression|). All normal |
| 1199 | +command-line editing commands are available, including a special history for |
| 1200 | +expressions. When you end the command-line by typing <CR>, Vim computes the |
| 1201 | +result of the expression. If you end it with <Esc>, Vim abandons the |
| 1202 | +expression. If you do not enter an expression, Vim uses the previous |
1201 | 1203 | expression (like with the "/" command). |
1202 | 1204 |
|
1203 | 1205 | The expression must evaluate to a String. A Number is always automatically |
@@ -1242,7 +1244,7 @@ Contains the most recent search-pattern. This is used for "n" and 'hlsearch'. |
1242 | 1244 | It is writable with `:let`, you can change it to have 'hlsearch' highlight |
1243 | 1245 | other matches without actually searching. You can't yank or delete into this |
1244 | 1246 | register. The search direction is available in |v:searchforward|. |
1245 | | -Note that the valued is restored when returning from a function |
| 1247 | +Note that the value is restored when returning from a function |
1246 | 1248 | |function-search-undo|. |
1247 | 1249 | {not in Vi} |
1248 | 1250 |
|
@@ -1457,10 +1459,10 @@ When you hit Return in a C-comment, Vim will insert the middle comment leader |
1457 | 1459 | for the new line: " * ". To close this comment you just have to type "/" |
1458 | 1460 | before typing anything else on the new line. This will replace the |
1459 | 1461 | middle-comment leader with the end-comment leader and apply any specified |
1460 | | -alignment, leaving just " */". There is no need to hit BackSpace first. |
| 1462 | +alignment, leaving just " */". There is no need to hit Backspace first. |
1461 | 1463 |
|
1462 | | -When there is a match with a middle part, but there also is a maching end part |
1463 | | -which is longer, the end part is used. This makes a C style comment work |
| 1464 | +When there is a match with a middle part, but there also is a matching end |
| 1465 | +part which is longer, the end part is used. This makes a C style comment work |
1464 | 1466 | without requiring the middle part to end with a space. |
1465 | 1467 |
|
1466 | 1468 | Here is an example of alignment flags at work to make a comment stand out |
|
0 commit comments