Lines Matching refs:command
5 Typing command-line commands quickly
25 When you use a colon (:) command or search for a string with / or ?, Vim puts
26 the cursor on the bottom of the screen. There you type the command or search
28 search command.
30 The most obvious way to edit the command you type is by pressing the <BS> key.
44 end of the line before executing the command.
46 The most often used keys to move around in the command line:
52 CTRL-B or <Home> to begin of command line
53 CTRL-E or <End> to end of command line
99 You thought of executing a : or / command, but changed your mind. To get rid
104 Vi pressing <Esc> in a command line executed the command! Since that
105 might be considered to be a bug, Vim uses <Esc> to cancel the command.
110 If you are at the start of the command line, pressing <BS> will cancel the
111 command. It's like deleting the ":" or "/" that the line starts with.
120 How short can a command get? There are 26 letters, and many more commands.
122 command. Instead ":set" can be abbreviated to ":se".
123 When the shorter form of a command could be used for two commands, it
133 In the user manual we will either use the full name of command, or a short
136 will use ":fun". (Vim doesn't have a ":funny" command, otherwise ":fun" would
139 It is recommended that in Vim scripts you write the full command name. That
170 To edit the last one, you use the command: >
178 Which will result in the same command. What happened? The <Tab> key does
223 command before it. Vim knows that you cannot use a file name just after a
224 ":set" command, but you can use an option name.
273 The CTRL-L command completes the word to the longest unambiguous string. If
289 use the <Up> key to recall an older command line. <Down> then takes you back
298 Suppose you have done a ":set" command, typed ten more colon commands and then
299 want to repeat that ":set" command again. You could press ":" and then ten
304 Vim will now go back to the previous command that started with "se". You have
305 a good chance that this is the ":set" command you were looking for. At least
319 command: >
330 Typing the text in the command line works differently from typing text in
332 commands that's OK, but sometimes you have to type a complicated command.
333 That's where the command line window is useful.
335 Open the command line window with this command: >
339 Vim now opens a (small) window at the bottom. It contains the command line
353 |command-line=========================|
363 Now press <Enter> and this command will be executed. The command line window
365 The <Enter> command will execute the line under the cursor. It doesn't
367 Changes in the command line window are lost. They do not result in the
368 history to be changed. Except that the command you execute will be added to
371 The command line window is very useful when you want to have overview of the
372 history, lookup a similar command, change it a bit and execute it. A search
373 command can be used to find something.
374 In the previous example the "?config" search command could have been used
375 to find the previous command that contains "config". It's a bit strange,
376 because you are using a command line to search in the command line window.
377 While typing that search command you can't open another command line window,