comparison runtime/doc/insert.txt @ 714:0f9f4761ad9c v7.0216

updated for version 7.0216
author vimboss
date Mon, 06 Mar 2006 23:29:24 +0000
parents 1babf94e0b24
children b526e10493b1
comparison
equal deleted inserted replaced
713:0c381fb7846c 714:0f9f4761ad9c
1 *insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 04 1 *insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 06
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
128 Note that 0x80 (128 decimal) is used for 128 Note that 0x80 (128 decimal) is used for
129 special keys. E.g., you can use this to move 129 special keys. E.g., you can use this to move
130 the cursor up: 130 the cursor up:
131 CTRL-R ="\<Up>" 131 CTRL-R ="\<Up>"
132 Use CTRL-R CTRL-R to insert text literally. 132 Use CTRL-R CTRL-R to insert text literally.
133 When the result is a |List| the items are used
134 as lines. They can have line breaks inside
135 too.
133 See |registers| about registers. {not in Vi} 136 See |registers| about registers. {not in Vi}
134 137
135 CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R* 138 CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*
136 Insert the contents of a register. Works like using a single 139 Insert the contents of a register. Works like using a single
137 CTRL-R, but the text is inserted literally, not as if typed. 140 CTRL-R, but the text is inserted literally, not as if typed.
1237 in standards, completion plugin will place element in suggestion list. When 1240 in standards, completion plugin will place element in suggestion list. When
1238 both major engines implemented element, even if this is not in standards it 1241 both major engines implemented element, even if this is not in standards it
1239 will be suggested. All other elements are not placed in suggestion list. 1242 will be suggested. All other elements are not placed in suggestion list.
1240 1243
1241 1244
1245 PHP *ft-php-omni*
1246
1247 Completion of PHP code requires tags file for completion of data from external
1248 files. You should use Exuberant ctags version 5.5.4 or newer. You can find it
1249 here: http://ctags.sourceforge.net/
1250
1251 Script completes:
1252
1253 - after $ variables name
1254 - function names with additonal info:
1255 - in case of built-in functions list of possible arguments and after | type
1256 data returned by function
1257 - in case of user function arguments and name of file were function was
1258 defined (if it is not current file)
1259
1260 Note: when doing completion first time Vim will load all necessary data into
1261 memory. It may take several seconds. After next use of completion delay
1262 shouldn't be noticeable.
1263
1264 Script detects if cursor is inside <?php ?> tags. If it is outside it will
1265 automatically switch to HTML/CSS/JavaScript completion. Note: contrary to
1266 original HTML files completion of tags (and only tags) isn't context aware.
1267
1268
1242 SYNTAX *ft-syntax-omni* 1269 SYNTAX *ft-syntax-omni*
1243 1270
1244 This uses the current syntax highlighting for completion. It can be used for 1271 This uses the current syntax highlighting for completion. It can be used for
1245 any filetype and provides a minimal language-sensitive completion. 1272 any filetype and provides a minimal language-sensitive completion.
1246 1273