Lines Matching refs:CTRL
35 characters into the buffer, precede it with CTRL-V. To insert a <Nul>
36 character use "CTRL-V CTRL-@" or "CTRL-V 000". On some systems, you have to
37 use "CTRL-V 003" to insert a CTRL-C. Note: When CTRL-V is mapped you can
38 often use CTRL-Q instead |i_CTRL-Q|.
50 <Esc> or CTRL-[ End insert or Replace mode, go back to Normal mode. Finish
53 yourself to use CTRL-[.
54 If Esc doesn't work and you are using a Mac, try CTRL-Esc.
57 CTRL-C Quit insert mode, go back to Normal mode. Do not check for
62 CTRL-@ Insert previously inserted text and stop insert.
65 CTRL-A Insert previously inserted text.
68 <BS> or CTRL-H Delete the character before the cursor (see |i_backspacing|
79 CTRL-W Delete the word before the cursor (see |i_backspacing| about
83 CTRL-U Delete all entered characters before the cursor in the current
89 <Tab> or CTRL-I Insert a tab. If the 'expandtab' option is on, the
90 equivalent number of spaces is inserted (use CTRL-V <Tab> to
91 avoid the expansion; use CTRL-Q <Tab> if CTRL-V is mapped
95 <NL> or CTRL-J Begin new line.
97 <CR> or CTRL-M Begin new line.
99 CTRL-K {char1} [char2]
106 CTRL-N Find next keyword (see |i_CTRL-N|).
107 CTRL-P Find previous keyword (see |i_CTRL-P|).
109 CTRL-R {register} *i_CTRL-R*
110 Insert the contents of a register. Between typing CTRL-R and
135 CTRL-R ="\<Up>"
136 Use CTRL-R CTRL-R to insert text literally.
146 CTRL-R CTRL-R {register} *i_CTRL-R_CTRL-R*
148 CTRL-R, but the text is inserted literally, not as if typed.
151 CTRL-R a results in "ac".
152 CTRL-R CTRL-R a results in "ab^Hc".
154 you also want to avoid these, use CTRL-R CTRL-O, see below.
160 CTRL-R CTRL-O {register} *i_CTRL-R_CTRL-O*
172 CTRL-R CTRL-P {register} *i_CTRL-R_CTRL-P*
183 CTRL-T Insert one shiftwidth of indent at the start of the current
187 CTRL-D Delete one shiftwidth of indent at the start of the current
191 0 CTRL-D Delete all indent in the current line.
194 ^ CTRL-D Delete all indent in the current line. The indent is
199 CTRL-V Insert next non-digit literally. For special keys, the
203 The characters typed right after CTRL-V are not considered for
205 Note: When CTRL-V is mapped (e.g., to paste text) you can
206 often use CTRL-Q instead |i_CTRL-Q|.
212 CTRL-Q Same as CTRL-V.
213 Note: Some terminal connections may eat CTRL-Q, it doesn't
216 CTRL-SHIFT-V *i_CTRL-SHIFT-V* *i_CTRL-SHIFT-Q*
217 CTRL-SHIFT-Q Works just like CTRL-V, unless |modifyOtherKeys| is active,
220 CTRL-X Enter CTRL-X mode. This is a sub-mode where commands can
225 CTRL-E Insert the character which is below the cursor.
227 CTRL-Y Insert the character which is above the cursor.
228 Note that for CTRL-E and CTRL-Y 'textwidth' is not used, to be
232 CTRL-_ Switch between languages, as follows:
238 CTRL-_ moves the cursor to the end of the typed text.
247 CTRL-^ Toggle the use of typing language characters.
265 CTRL-] Trigger abbreviation, without inserting a character.
272 The effect of the <BS>, CTRL-W, and CTRL-U depend on the 'backspace' option
278 start allow backspacing over the start position of insert; CTRL-W and
279 CTRL-U stop once at the start position
292 With CTRL-V the decimal, octal or hexadecimal value of a character can be
318 CTRL-X enters a sub-mode where several commands can be used. Most of these
325 CTRL-X CTRL-E scroll window one line up.
329 CTRL-X CTRL-Y scroll window one line down.
332 After CTRL-X is pressed, each CTRL-E (CTRL-Y) scrolls the window up (down) by
334 in the file. As soon as another key is pressed, CTRL-X mode is exited and
346 'insertmode' option. You can use CTRL-O if you want to map a function key to
357 CTRL-G <Up> cursor one line up, insert start column *i_CTRL-G_<Up>*
358 CTRL-G k cursor one line up, insert start column *i_CTRL-G_k*
359 CTRL-G CTRL-K cursor one line up, insert start column *i_CTRL-G_CTRL-K*
360 CTRL-G <Down> cursor one line down, insert start column *i_CTRL-G_<Down>*
361 CTRL-G j cursor one line down, insert start column *i_CTRL-G_j*
362 CTRL-G CTRL-J cursor one line down, insert start column *i_CTRL-G_CTRL-J*
386 CTRL-O execute one command, return to Insert mode *i_CTRL-O*
387 CTRL-\ CTRL-O like CTRL-O but don't move the cursor *i_CTRL-\_CTRL-O*
388 CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
389 CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
390 CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
398 The CTRL-O command sometimes has a side effect: If the cursor was beyond the
401 will then always put the cursor on it). Or use CTRL-\ CTRL-O, but then
403 command following CTRL-\ CTRL-O can still move the cursor, it is not restored
406 The CTRL-O command takes you to Normal mode. If you then use a command enter
416 ignored. That is because repeating the effect of the command after CTRL-O is
419 An example for using CTRL-G u: >
425 that, with CTRL-O u. Another example: >
432 An example for using CTRL-G U: >
454 Using CTRL-O splits undo: the text typed before and after it is undone
456 to use CTRL-R = |i_CTRL-R|. E.g., to call a function: >
463 The CTRL-G j and CTRL-G k commands can be used to insert text in front of a
525 whitespace of the tab. If you want to enter a real <Tab>, type CTRL-V first
526 (use CTRL-Q when CTRL-V is mapped |i_CTRL-Q|).
569 If you delete characters in Replace mode (with <BS>, CTRL-W, or CTRL-U), what
599 Interesting effects are seen when using CTRL-T and CTRL-D. The characters
601 line still remain still. CTRL-T will hide some of the old line under the
602 shifted characters, but CTRL-D will reveal them again.
605 replaced. This still works in conjunction with 'smartindent', CTRL-T and
606 CTRL-D, 'expandtab', 'smarttab', 'softtabstop', etc.
645 All these, except CTRL-N and CTRL-P, are done in CTRL-X mode. This is a
646 sub-mode of Insert and Replace modes. You enter CTRL-X mode by typing CTRL-X
647 and one of the CTRL-X commands. You exit CTRL-X mode by typing a key that is
648 not a valid CTRL-X mode command. Valid keys are the CTRL-X command itself,
649 CTRL-N (next), and CTRL-P (previous).
655 When completion is active you can use CTRL-E to stop it and go back to the
656 originally typed text. The CTRL-E will not be inserted.
659 When the popup menu is displayed you can use CTRL-Y to stop completion and
660 accept the currently selected entry. The CTRL-Y is not inserted. Typing a
667 Note: The keys that are valid in CTRL-X mode are not mapped. This allows for
668 ":map ^F ^X^F" to work (where ^F is CTRL-F and ^X is CTRL-X). The key that
669 ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped.
684 As a special case, typing CTRL-R to perform register insertion (see
685 |i_CTRL-R|) will not exit CTRL-X mode. This is primarily to allow the use of
688 not valid CTRL-X mode keys, then CTRL-X mode will be exited as if those keys
692 the current line is currently only whitespace, or start/continue a CTRL-N
709 CTRL-X CTRL-L Search backwards for a line that starts with the
716 CTRL-L or
717 CTRL-P Search backwards for next matching line. This line
720 CTRL-N Search forward for next matching line. This line
723 CTRL-X CTRL-L After expanding a line you can additionally get the
724 line next to it by typing CTRL-X CTRL-L again, unless
725 a double CTRL-X is used. Only works for loaded
732 CTRL-X CTRL-N Search forwards for words that start with the keyword
736 CTRL-X CTRL-P Search backwards for words that start with the keyword
740 CTRL-N Search forward for next matching keyword. This
743 CTRL-P Search backwards for next matching keyword. This
746 CTRL-X CTRL-N or
747 CTRL-X CTRL-P Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will
749 other contexts unless a double CTRL-X is used.
771 will be inserted at each CTRL-N and CTRL-P (unless there is only one
784 After expanding a word, you can use CTRL-X CTRL-P or CTRL-X CTRL-N to get the
787 useful if you need to repeat a sequence of complicated words. Although CTRL-P
788 and CTRL-N look just for strings of at least two characters, CTRL-X CTRL-P and
789 CTRL-X CTRL-N can be used to expand words of just one character.
794 CTRL-N starts the expansion and then CTRL-P takes back the single character
795 "M", the next two CTRL-X CTRL-P's get the words "é" and ";xico".
802 this word is accepted the next CTRL-X CTRL-P or CTRL-X CTRL-N will search
809 CTRL-X CTRL-K Search the files given with the 'dictionary' option
811 cursor. This is like CTRL-N, but only the dictionary
820 CTRL-K or
821 CTRL-N Search forward for next matching keyword. This
824 CTRL-P Search backwards for next matching keyword. This
831 CTRL-X CTRL-T Works as CTRL-X CTRL-K, but in a special way. It uses
838 CTRL-T or
839 CTRL-N Search forward for next matching keyword. This
842 CTRL-P Search backwards for next matching keyword. This
851 <Placing the cursor after the letters "ang" and typing CTRL-X CTRL-T would
903 CTRL-X CTRL-I Search for the first keyword in the current and
908 CTRL-N Search forwards for next matching keyword. This
910 Note: CTRL-I is the same as <Tab>, which is likely to
912 CTRL-I is not used for searching for the next match.
914 CTRL-P Search backward for previous matching keyword. This
917 CTRL-X CTRL-I Further use of CTRL-X CTRL-I will copy the words
919 unless a double CTRL-X is used.
923 CTRL-X CTRL-] Search for the first tag that starts with the same
928 name (same as for a keyword). See also |CTRL-]|.
931 CTRL-] or
932 CTRL-N Search forwards for next matching tag. This tag
935 CTRL-P Search backward for previous matching tag. This tag
941 CTRL-X CTRL-F Search for the first file name that starts with the
948 CTRL-F or
949 CTRL-N Search forwards for next matching file name. This
952 CTRL-P Search backward for previous matching file name.
964 CTRL-X CTRL-D Search in the current and included files for the
968 CTRL-D or
969 CTRL-N Search forwards for next matching macro name. This
973 CTRL-P Search backward for previous matching macro name.
977 CTRL-X CTRL-D Further use of CTRL-X CTRL-D will copy the words
979 unless a double CTRL-X is used.
989 CTRL-X CTRL-V Guess what kind of item is in front of the cursor and
991 Note: When CTRL-V is mapped you can often use CTRL-Q
993 CTRL-V or
994 CTRL-N Search forwards for next match. This match replaces
997 CTRL-P Search backwards for previous match. This match
1000 CTRL-X CTRL-V Further use of CTRL-X CTRL-V will do the same as
1001 CTRL-V. This allows mapping a key to do Vim command
1012 CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
1014 CTRL-U or
1015 CTRL-N Use the next match. This match replaces the previous
1018 CTRL-P Use the previous match. This match replaces the
1033 CTRL-X CTRL-O Guess what kind of item is in front of the cursor and
1035 CTRL-O or
1036 CTRL-N Use the next match. This match replaces the previous
1039 CTRL-P Use the previous match. This match replaces the
1050 NOTE: CTRL-S suspends display in many Unix terminals. Use 's' instead. Type
1051 CTRL-Q to resume displaying.
1054 CTRL-X CTRL-S or
1055 CTRL-X s Locate the word in front of the cursor and find the
1057 CTRL-S or
1058 CTRL-N Use the next suggestion. This replaces the previous
1061 CTRL-P Use the previous suggestion. This replaces the
1068 CTRL-N Find next match for words that start with the
1074 CTRL-P Find previous match for words that start with the
1079 CTRL-N Search forward for next matching keyword. This
1082 CTRL-P Search backwards for next matching keyword. This
1085 CTRL-X CTRL-N or
1086 CTRL-X CTRL-P Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will
1088 other contexts unless a double CTRL-X is used.
1094 CTRL-X CTRL-Z Stop completion without changing the text.
1318 1. A complete match has been inserted, e.g., after using CTRL-N or CTRL-P.
1329 If you select another match, e.g., with CTRL-N or CTRL-P, you go to the first
1333 get there right away you can use a mapping that uses CTRL-P right after
1339 <BS> and CTRL-H Delete one character, find the matches for the word before
1347 <BS> and CTRL-H Delete one character, find the matches for the shorter word
1349 CTRL-L Add one character from the current match, may reduce the
1355 CTRL-Y Yes: Accept the currently selected match and stop completion.
1356 CTRL-E End completion, go back to what was there before selecting a
1360 <Up> Select the previous match, as if CTRL-P was used, but don't
1362 <Down> Select the next match, as if CTRL-N was used, but don't
1425 When using CTRL-X CTRL-O after a name without any "." or "->" it is completed
1428 in the tags file, use CTRL-P instead.
1430 When using CTRL-X CTRL-O after something that has "." or "->" Vim will attempt
1434 When a member name already was complete, CTRL-X CTRL-O will add a "." or
1452 CTRL-X CTRL-O provides completion of various elements of (X)HTML files. It is
1468 - when used after "</" CTRL-X CTRL-O will close the last opened tag
1578 The completions provided by CTRL-X CTRL-O are sensitive to the context:
1754 - when used after "</" CTRL-X CTRL-O will close the last opened tag
1904 When using CTRL-O in Insert mode |i_CTRL-O| the count
2067 If 'fileformat' is "dos", a <CR> in front of an <NL> is ignored and a CTRL-Z