Lines Matching refs:command

21      Next chapter: |usr_20.txt|  Typing command-line commands quickly
28 The substitute command can be used to replace all occurrences of a word with
48 substitute command prompt you for each replacement: >
57 file and type the command manually. It's a lot faster to use record and
84 the "e" flag to the substitute command: >
103 This can be done with just one command: >
108 command. The "%" is the line range, which stands for the whole file. Thus
110 The arguments for the substitute command are "/from/to/". The slashes
128 command. "\0" stands for the whole matched pattern. There are a few more
129 special items in a substitute command, see |sub-replace-special|.
146 To sort this list, filter the text through the external sort command: >
180 The |:global| command can be combined with the |:move| command to move all the
181 lines before the first line, resulting in a reversed file. The command is: >
190 is blank). The |:move| command moves the matching line to after the imaginary
192 As the |:global| command is not confused by the changing line numbering,
208 command: >
212 Do not type a space after the g, this is just used here to make the command
234 While editing a shell script or C program, you are using a command or function
251 Put this command in your vimrc file if you intend to do this often. Now you
252 can use the ":Man" command to open a window on a man page: >
286 command: >
291 that the ":substitute" command matches with is "\s\+$". This finds white
294 The "to" part of the substitute command is empty: "//". Thus it replaces
299 Therefore, you can best do this manually. Use this search command: >
303 You cannot see it, but there is a space before a tab in this command. Thus
312 If you are a UNIX user, you can use a combination of Vim and the grep command
317 the word "frame_counter". To do this you use the command: >
321 Let's look at this command in detail. The grep command searches through a set
322 of files for a given word. Because the -l argument is specified, the command
327 The entire command is enclosed in backticks (`). This tells the UNIX shell
328 to run this command and pretend that the results were typed on the command
329 line. So what happens is that the grep command is run and produces a list of
330 files, these files are put on the Vim command line. This results in Vim
337 The above command only finds the files in which the word is found. You still
339 Vim has a built-in command that you can use to search a set of files for a
341 program files, for example, enter the following command: >
348 matching line (no matter in what file it is), use the ":cnext" command. To go
349 to the previous match, use the ":cprev" command. Use ":clist" to see all the
351 The ":grep" command uses the external commands grep (on Unix) or findstr
356 Next chapter: |usr_20.txt| Typing command-line commands quickly