Lines Matching refs:command

13 Basic command line editing is explained in chapter 20 of the user manual
18 3. Ex command-lines |cmdline-lines|
19 4. Ex command-line ranges |cmdline-ranges|
20 5. Ex command-line flags |ex-flags|
28 move around in the command-line with the left and right cursor keys. With the
42 When the command line is getting longer than what fits on the screen, only the
47 The command-lines that you enter are remembered in a history table. You can
60 - When you enter a command-line that is exactly the same as an older one, the
70 There is an automatic completion of names on the command-line; see
102 cursor to beginning of command-line
104 cursor to end of command-line
147 the command line are inserted literally (<Esc>, <CR>, <NL>,
148 <C-C>). A <BS> or CTRL-W could still end the command line
159 ':' the last command-line
215 Evaluate {expr} and replace the whole command line with the
244 <CR> or <NL> start entered command
249 present in 'cpoptions', start entered command.
253 CTRL-C quit command-line without executing
256 <Up> recall older command-line from history, whose beginning
257 matches the current command-line (see below).
261 <Down> recall more recent command-line from history, whose beginning
262 matches the current command-line (see below).
268 recall older command-line from history
273 recall more recent command-line from history
277 CTRL-D command-line completion (see |cmdline-completion|)
279 command-line completion (see |cmdline-completion|)
280 CTRL-N command-line completion (see |cmdline-completion|)
281 CTRL-P command-line completion (see |cmdline-completion|)
282 CTRL-A command-line completion (see |cmdline-completion|)
283 CTRL-L command-line completion (see |cmdline-completion|)
287 private to the command-line and not related to hkmap.
289 command-line, searches, abbreviations, etc. Applies only if
295 private to the command-line and not related to fkmap. In
298 required in the command-line, searches, abbreviations, etc.
305 When typing a pattern for a search command and 'imsearch' is
321 When entering a command line, langmap mappings are switched
322 off, since you are expected to type a command. After
324 for the next command or Search pattern.
329 For Emacs-style editing on the command-line see |emacs-keys|.
331 The <Up> and <Down> keys take the current command-line as a search string.
332 The beginning of the next/previous command-lines are compared with this
333 string. The first line that matches is the new command-line. When typing
335 can be used to find the previous substitute command: Type ":s" and then <Up>.
337 command-line is shown. (Note: the shifted arrow keys do not work on all
347 c[md] or : command-line history
351 d[ebug] or > debug command history
375 :keepp[atterns] {command} *:keepp* *:keeppatterns*
376 Execute {command}, without adding anything to the search
382 When editing the command-line, a few commands can be used to complete the
385 - Command names: At the start of the command-line.
386 - Tags: Only after the ":tag" command.
387 - File names: Only after a command that accepts a file name or a setting for
390 - Shell command names: After ":!cmd", ":r !cmd" and ":w !cmd". $PATH is used.
391 - Options: Only after the ":set" command.
392 - Mappings: Only after a ":map" or similar command.
393 - Variable and function names: Only after a ":if", ":call" or similar command.
424 match. Otherwise recall more recent command-line from history.
427 previous match. Otherwise recall older command-line from
442 'ignorecase' and 'smartcase' are set and the command line has
470 The 'wildmenu' option can be set to show the matches just above the command
475 (Where X is the command key to use, <C-L> is CTRL-L and <C-D> is CTRL-D)
527 If you would like using <S-Tab> for CTRL-P in an xterm, put this command in
534 3. Ex command-lines *cmdline-lines*
540 after a command causes the rest of the line to be ignored. This can be used
543 It is not possible to add a comment to a shell command ":!cmd" or to the
544 ":map" command and a few others (mainly commands that expect expressions)
552 :command
589 followed by another Vim command:
595 :command
630 a user defined command without the "-bar" argument |:command|
633 in the command, with ":s" it is not.
635 To be able to use another command anyway, use the ":execute" command.
655 '|' is included in the external command. To avoid the special meaning of <NL>
660 Note that when the command before the '|' generates an error, the following
669 A colon is allowed between the range and the command name. It is ignored
679 backslash or CTRL-V. Note that the ":next" command uses spaces to separate
684 When you want to use the special characters '"' or '|' in a command, or want
686 backslash is not required in a range and in the ":substitute" command.
690 The '!' (bang) character after an Ex command makes the command behave in a
691 different way. The '!' should be placed immediately after the command, without
693 argument for the command, which has a different meaning. For example:
696 :w !name send the current buffer as standard input to command
700 4. Ex command-line ranges *cmdline-ranges* *[range]* *E16*
720 If more line specifiers are given than required for the command, the first
768 Some commands allow for a count after the command. This count is used as the
791 This is not done within the global command ":g".
793 You can use ":silent" before a command to avoid the question, the range will
808 {Visual}: Starts a command-line with the Visual selected lines as a
810 it possible to select a similar line from the command-line
811 history for repeating a command on different Visually selected
822 5. Ex command-line flags *ex-flags*
825 that the cursor ends up after executing the command:
837 Note: These are special characters in the executed command line. If you want
838 to insert special things while typing you can use the CTRL-R command. For
879 Note that backslashes are inserted before spaces, so that the command will
926 <sfile> When executing a ":source" command, is replaced with the
940 <slnum> When executing a ":source" command, is replaced with the
1000 works like the |:s| command. "pat" is a regular expression.
1008 :S Escape special characters for use with a shell command (see
1067 command expands to ~
1075 When the expanded argument contains a "!" and it is used for a shell command
1077 avoid it being expanded into a previously used command. When the 'shell'
1104 *command-line-window*
1105 In the command-line window the command line can be edited just like editing
1113 There are two ways to open the command-line window:
1116 2. From Normal mode, use the "q:", "q/" or "q?" command.
1117 This starts editing an Ex command-line ("q:") or search string ("q/" or
1121 When the window opens it is filled with the command-line history. The last
1122 line contains the command as typed so far. The left column will show a
1123 character that indicates the type of command-line being edited, see
1131 command-line.
1139 It is possible to use ":", "/" and other commands that use the command-line,
1140 but it's not possible to open another command-line window then. There is no
1143 The command-line window is not a normal window. It is not possible to move to
1145 disabled in the command-line window. Of course it _is_ possible to execute
1146 any command that you entered in the command-line window. Other text edits are
1152 There are several ways to leave the command-line window:
1154 <CR> Execute the command-line under the cursor. Works both in
1156 CTRL-C Continue in Command-line mode. The command-line under the
1157 cursor is used as the command-line. Works both in Insert and
1160 :quit Discard the command line and go back to Normal mode.
1166 Once the command-line window is closed the old window sizes are restored. The
1167 executed command applies to the window and buffer where the command-line was
1168 started from. This works as if the command-line window was not there, except
1170 The buffer used for the command-line window is deleted. Any changes to lines
1173 If you would like to execute the command under the cursor and then have the
1174 command-line window open again, you may find this mapping useful: >
1181 The command-line window cannot be used:
1182 - when there already is a command-line window (no nesting)
1185 Some options are set when the command-line window is opened:
1186 'filetype' "vim", when editing an Ex command-line; this starts Vim syntax
1194 save the command-line history and read it back later.
1196 If the 'wildchar' option is set to <Tab>, and the command-line window is used
1197 for an Ex command, then two mappings will be added to use <Tab> for completion
1198 in the command-line window, like this: >
1208 While in the command-line window you cannot use the mouse to put the cursor in
1210 statusline of the command-line window itself and the statusline above it.
1211 Thus you can resize the command-line window, but not others.
1213 The |getcmdwintype()| function returns the type of the command-line being
1220 the Cmdwin events to do settings specifically for the command-line window.
1228 This will make Vim start in Insert mode in the command-line window.
1231 The character used for the pattern indicates the type of command-line:
1232 : normal Ex command
1233 > debug mode command |debug-mode|