diff options
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r-- | runtime/doc/insert.txt | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index a7915da9a..61360a4aa 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.2. Last change: 2008 Jun 21 +*insert.txt* For Vim version 7.2. Last change: 2009 Jul 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -123,6 +123,7 @@ CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R* ':' the last command-line '.' the last inserted text '-' the last small (less than a line) delete + *i_CTRL-R_=* '=' the expression register: you are prompted to enter an expression (see |expression|) Note that 0x80 (128 decimal) is used for @@ -133,6 +134,8 @@ CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R* When the result is a |List| the items are used as lines. They can have line breaks inside too. + When the result is a Float it's automatically + converted to a String. See |registers| about registers. {not in Vi} CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R* @@ -660,7 +663,8 @@ CTRL-X CTRL-L Search backwards for a line that starts with the CTRL-X CTRL-L After expanding a line you can additionally get the line next to it by typing CTRL-X CTRL-L again, unless - a double CTRL-X is used. + a double CTRL-X is used. Only works for loaded + buffers. Completing keywords in current file *compl-current* @@ -1488,7 +1492,7 @@ with data pulled directly from within a database. For detailed instructions and a tutorial see |omni-sql-completion|. The SQL completion plugin can be used in conjunction with other completion -plugins. For example, the PHP filetype has it's own completion plugin. +plugins. For example, the PHP filetype has its own completion plugin. Since PHP is often used to generate dynamic website by accessing a database, the SQL completion plugin can also be enabled. This allows you to complete PHP code and SQL code at the same time. @@ -1725,14 +1729,9 @@ too long when appending characters a line break is automatically inserted. These two commands will keep on asking for lines, until you type a line containing only a ".". Watch out for lines starting with a backslash, see |line-continuation|. -When these commands are used with |:global| or |:vglobal| then the lines are -obtained from the text following the command. Separate lines with a NL -escaped with a backslash: > - :global/abc/insert\ - one line\ - another line -The final "." is not needed then. -NOTE: ":append" and ":insert" don't work properly in between ":if" and + +NOTE: These commands cannot be used with |:global| or |:vglobal|. +":append" and ":insert" don't work properly in between ":if" and ":endif", ":for" and ":endfor", ":while" and ":endwhile". *:start* *:startinsert* |