Mercurial > vim
diff runtime/doc/insert.txt @ 2033:de5a43c5eedc
Update documentation files.
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 06 Jan 2010 20:52:26 +0100 |
parents | 5232b9862f23 |
children | f63ace015c63 |
line wrap: on
line diff
--- 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 li 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 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 @@ 9. Ex insert commands *inserting-ex* 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*