Lines Matching refs:in
11 commands for inserting text in other ways.
13 An overview of the most often used commands can be found in chapter 24 of the
40 If you are working in a special language mode when inserting text, see the
83 CTRL-U Delete all entered characters before the cursor in the current
86 cursor in the current line.
101 key, the code for that key is inserted in <> form. For
151 CTRL-R a results in "ac".
152 CTRL-R CTRL-R a results in "ab^Hc".
191 0 CTRL-D Delete all indent in the current line.
194 ^ CTRL-D Delete all indent in the current line. The indent is
195 restored in the next line. This is useful when inserting a
214 work then. It does work in the GUI.
233 - When in a rightleft window, revins and nohkmap are toggled,
234 since English will likely be inserted in this case.
235 - When in a norightleft window, revins and hkmap are toggled,
236 since Hebrew will likely be inserted in this case.
259 'keymap' option or "<lang>" appears in the status line.
287 If the 'backspace' option does contain "eol" and the cursor is in column 1
289 previous line. This effectively deletes the <EOL> in front of the cursor.
304 space (value 32) you would type <C-V>032. You can omit the leading zero, in
308 character is dealt with in the normal way.
310 If you enter a value of 10, it will end up in the file as a 0. The 10 is a
314 <NL> character in a file you will have to make a line break.
334 in the file. As soon as another key is pressed, CTRL-X mode is exited and
335 that key is interpreted as in Insert mode.
369 <Home> cursor to first char in the line *i_<Home>*
370 <End> cursor to after last char in the line *i_<End>*
371 <C-Home> cursor to first char in the file *i_<C-Home>*
372 <C-End> cursor to after last char in the file *i_<C-End>*
399 end of the line, it will be put on the last character in the line. In
400 mappings it's often better to use <Esc> (first put an "x" in the text, <Esc>
444 This makes it possible to use the cursor keys in Insert mode, without breaking
455 separately. If you want to avoid this (e.g., in a mapping) you might be able
460 keys on the first/last character in the line make the cursor wrap to the
463 The CTRL-G j and CTRL-G k commands can be used to insert text in front of a
471 When inserting the same text in front of the column in every line, use the
495 appending to a line. When in replace mode and the line length is not
511 If you want to do it in a different way set the 'formatexpr' option to an
527 The 'expandtab' option is off by default. Note that in Replace mode, a single
529 number of characters in the line increases. Backspacing will delete one
535 the beginning of a line and 'tabstop' positions in other places. This means
557 Enter Replace mode with the "R" command in normal mode.
559 In Replace mode, one character in the line is deleted for every character you
561 typed character is appended (as in Insert mode). Thus the number of
562 characters in a line stays the same until you get to the end of the line.
565 Be careful with <Tab> characters. If you type a normal printing character in
569 If you delete characters in Replace mode (with <BS>, CTRL-W, or CTRL-U), what
575 several spaces. The result of this is that the number of characters in the
583 Enter Virtual Replace mode with the "gR" command in normal mode.
587 actual characters in the file, you are replacing screen real estate, so that
588 characters further on in the file never appear to move.
594 Typing a <NL> still doesn't cause characters later in the file to appear to
600 before the cursor are shifted sideways as normal, but characters later in the
605 replaced. This still works in conjunction with 'smartindent', CTRL-T and
608 In 'list' mode, Virtual Replace mode acts as if it was not in 'list' mode,
609 unless "L" is in 'cpoptions'.
612 appear to move are in List mode |'list'|, and occasionally when 'wrap' is set
617 This mode is very useful for editing <Tab> separated columns in tables, for
630 2. keywords in the current file |i_CTRL-X_CTRL-N|
631 3. keywords in 'dictionary' |i_CTRL-X_CTRL-K|
632 4. keywords in 'thesaurus', thesaurus-style |i_CTRL-X_CTRL-T|
633 5. keywords in the current and included files |i_CTRL-X_CTRL-I|
641 13. keywords in 'complete' |i_CTRL-N| |i_CTRL-P|
645 All these, except CTRL-N and CTRL-P, are done in CTRL-X mode. This is a
667 Note: The keys that are valid in CTRL-X mode are not mapped. This allows for
710 same characters as those in the current line before
712 inserted in front of the cursor.
728 Completing keywords in current file *compl-current*
733 in front of the cursor. The found keyword is inserted
734 in front of the cursor.
737 in front of the cursor. The found keyword is inserted
738 in front of the cursor.
748 copy the words following the previous expansion in
751 If there is a keyword in front of the cursor (a name made out of alphabetic
752 characters and characters in 'iskeyword'), it is used as the search pattern,
758 matched string in Replace mode.
774 Single character matches are never included, as they usually just get in
782 The 'n' in '\n' is skipped.
785 word following the expansion in other contexts. These sequences search for
798 then just the text in the current line will be used.
800 If the match found is at the end of a line, then the first word in the next
806 Completing keywords in 'dictionary' *compl-dictionary*
810 for words that start with the keyword in front of the
813 keyword is inserted in front of the cursor. This
828 Completing words in 'thesaurus' *compl-thesaurus*
831 CTRL-X CTRL-T Works as CTRL-X CTRL-K, but in a special way. It uses
833 match is found in the thesaurus file, all the
845 In the file used by the 'thesaurus' option each line in the file should
880 for l in systemlist('aiksaurus '.shellescape(a:base))
897 Completing keywords in the current and included files *compl-keyword*
903 CTRL-X CTRL-I Search for the first keyword in the current and
906 inserted in front of the cursor.
918 following the previous expansion in other contexts
925 inserted in front of the cursor. Alphabetic
926 characters and characters in 'iskeyword' are used
927 to decide which characters are included in the tag
943 file name is inserted in front of the cursor.
944 Alphabetic characters and characters in 'isfname'
945 are used to decide which characters are included in
964 CTRL-X CTRL-D Search in the current and included files for the
967 definition name is inserted in front of the cursor.
978 following the previous expansion in other contexts
989 CTRL-X CTRL-V Guess what kind of item is in front of the cursor and
1012 CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
1033 CTRL-X CTRL-O Guess what kind of item is in front of the cursor and
1046 suggested to replace it. If there is a badly spelled word in the line, before
1050 NOTE: CTRL-S suspends display in many Unix terminals. Use 's' instead. Type
1055 CTRL-X s Locate the word in front of the cursor and find the
1069 keyword in front of the cursor, looking in places
1071 keyword is inserted in front of the cursor.
1075 keyword in front of the cursor, looking in places
1077 keyword is inserted in front of the cursor.
1087 copy the words following the previous expansion in
1101 The function is called in two different ways:
1117 -2 To cancel silently and stay in completion mode.
1124 located in the first call (can be empty)
1158 abbr abbreviation of "word"; when not empty it is used in
1162 info more information about the item, can be displayed in a
1167 items that only differ in case are added
1176 available in |v:completed_item|; it can be any type;
1181 further items in the list are not used. You can mix string and Dictionary
1182 items in the returned list.
1184 The "menu" item is used in the popup menu and may be truncated, thus it should
1185 be relatively short. The "info" item can be longer, it will be displayed in
1186 the preview window when "preview" appears in 'completeopt' or in a popup
1187 window when "popup" appears in 'completeopt'. In the preview window the
1190 remove existing text in the preview window. The size of the preview window is
1194 When "popup" is in 'completeopt' a popup window is used to display the "info".
1216 in 'completeopt'. The info popup will then be initially hidden and
1245 match to the total list. These matches should then not appear in the returned
1266 for m in split("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec")
1288 for m in split("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec")
1305 Vim can display the matches in a simplistic popup menu.
1320 inserted then, only the entry in the popup menu is highlighted.
1323 in front of the cursor.
1325 You normally start in the first state, with the first match being inserted.
1326 When "longest" is in 'completeopt' and there is more than one match you start
1327 in the third state.
1332 When you are back at the original text then you are in the third state. To
1367 The behavior of the <Enter> key depends on the state you are in:
1372 In other words: If you used the cursor keys to select another entry in the
1388 You can use of <expr> in mapping to have the popup menu used when typing a
1404 in 'runtimepath'. Thus for "java" it is autoload/javacomplete.vim.
1428 in the tags file, use CTRL-P instead.
1439 When the same structure name appears in multiple places all possible members
1472 Note: Completion may fail in badly formatted documents. In such case try to
1486 More about format of data file in |xml-omni-datafile|. Some of the data files
1508 Completion works in separate JavaScript files (&ft==javascript), inside of
1509 <script> tag of (X)HTML and in values of event attributes (including scanning
1525 Regardless from state of implementation in browsers but if element is defined
1526 in standards, completion plugin will place element in suggestion list. When
1527 both major engines implemented element, even if this is not in standards it
1528 will be suggested. All other elements are not placed in suggestion list.
1552 - in case of built-in functions list of possible arguments and after | type
1554 - in case of user function arguments and name of file where function was
1574 Ruby completion will parse your buffer on demand in order to provide a list of
1576 and modules defined in the current buffer.
1584 2. Inside a class definition Methods or constants defined in the class
1592 - Vim will load/evaluate code in order to provide completions. This may
1623 You can automate this by placing the following in your |.vimrc| (after any
1645 that begin with the filetype, "php", in this case. For example these syntax
1650 regular expression syntax (added in version 13.0 of
1668 Some people may find this list unwieldy or are only interested in certain
1685 for the syntax items. For example, in the Scheme language completion should
1700 sqlOperator xxx some prior all like and any escape exists in is not ~
1735 The SQL completion plugin can be used in conjunction with other completion
1752 - complete names of entities (defined in |xml-omni-datafile| and in the
1758 XML data files are stored in the "autoload/xml" directory in 'runtimepath'.
1759 Vim distribution provides examples of data files in the
1761 be used in commands. It should be a unique name which will not create
1791 \ 'tag1': ['Menu info', 'Long information visible in preview window']},
1793 \ 'attrofchild': ['Menu info', 'Long information visible in preview window']}}
1795 This example would be put in the "autoload/xml/crippled.vim" file and could
1823 Note: Tag names in the data file MUST not contain a namespace description.
1851 namespace declaration. For example to use XML completion in .xsl files: >
1860 namespace. The XMLent command should be used in case when there is no default
1867 While used in this situation (after declarations from previous part, | is
1872 Will complete to an appropriate XHTML tag, and in this situation: >
1880 has the xmlcomplete#GetLastOpenTag() function which can be used in XML files
1895 cursor is in the first column of an empty line Insert
1900 For using "A" in Visual block mode see |v_b_A|.
1904 When using CTRL-O in Insert mode |i_CTRL-O| the count
1908 I Insert text before the first non-blank in the line
1910 When the 'H' flag is present in 'cpoptions' and the
1913 For using "I" in Visual block mode see |v_b_I|.
1916 gI Insert text in column 1 [count] times.
1919 gi Insert text in the same position as where Insert mode
1920 was stopped last time in the current buffer.
1931 When the '#' flag is in 'cpoptions' the count is
1937 When the '#' flag is in 'cpoptions' the count is
1941 <Esc>. See |mode-ins-repl| for the other special characters in Insert mode.
1962 *:i* *:in* *:insert*
1973 When in Ex mode (see |-e|) a backslash at the end of the line can be used to
1974 insert a NUL character. To be able to have a line ending in a backslash use
1979 ":append" and ":insert" don't work properly in between ":if" and
1984 Works like typing "i" in Normal mode. When the ! is
1987 Note that when using this command in a function or
1994 typing <Esc> in Insert mode.
1995 Can be used in an autocommand, example: >
2000 Works just like typing "R" in Normal mode. When the
2004 Note that when using this command in a function or
2039 command. They work on a line basis, insertion starts below the line in which
2043 After the ":read" command, the cursor is left on the first non-blank in the
2044 first new line. Unless in Ex mode, then the cursor is left on the last new
2053 the buffer as if editing that file. Use this command in an empty buffer: >
2067 If 'fileformat' is "dos", a <CR> in front of an <NL> is ignored and a CTRL-Z
2070 If 'fileformat' is "mac", a <NL> in the file is internally represented by a
2079 On non-Win32 systems the message "[dos format]" is shown if a file is read in
2082 in Unix format.
2084 read in Mac format.
2107 [long lines split] at least one line was split in two