Lines Matching refs:can
9 goes into making changes that are repeated or can affect a large amount of
39 You can now execute the macro by typing the command "@{register}".
69 Now that you have done the work once, you can repeat the change by typing the
71 The "@a" command can be preceded by a count, which will cause the macro to
81 you can do it again with "@@". That's a bit easier to type. If you now
84 differences. First of all, "." can only repeat one change. As seen in the
85 example above, "@a" can do several changes, and move around as well.
86 Secondly, "." can only remember the last change. Executing a register allows
88 commands. Finally, you can use 26 different registers. Thus you can remember
112 Now you can execute the corrected commands with "@n". (If your recorded
123 change. This can be done with: >
153 specified with [range]. For example, you can change "Professor" to "Teacher"
224 The ":substitute" command, and many other : commands, can be applied to a
233 A single number can be used to address one specific line: >
263 You can see a search pattern is used twice. The first "?^Chapter?" finds the
276 wanted, but what if you didn't? Then you can specify an offset.
281 You can use any number instead of the 1. To address the second line below the
286 The offsets can also be used with the other items in a range. Look at this
298 and typing them in a range, you can use marks.
300 the top of an area and "mb" to mark the bottom. Then you can use this range
308 You can select text with Visual mode. If you then press ":" to start a colon
313 Now you can type the command and it will be applied to the range of lines that
323 is made. Thus you can use the "'<" command to jump to position where the
324 Visual area started. And you can mix the marks with other items: >
334 When you know how many lines you want to change, you can type the number and
339 Now you can type the command you want to use. It will use the range "."
356 colon. Normal mode commands can not be used directly. The |:normal|
357 command can do this for you.
376 Just like with ":substitute", any pattern can be used. When you learn more
377 complicated patterns later, you can use them here.
382 With CTRL-V you can start selection of a rectangular area of text. There are
442 side of the block. And it does insert text in a short line. Thus you can
471 Just like with "I" the short line is not changed. Also, you can't enter a
475 line. It then puts you in Insert mode so that you can type in a string,
529 removes what it can.
537 line ending (that can be changed with the 'joinspaces' option).
552 This can be done with the ":read {filename}" command. The text of the file is
577 What if you want to read the file above the first line? This can be done
588 To write a range of lines to a file, the ":write" command can be used.
609 lines into a register. The same can be done to collect lines in a file.
619 but the line must be appended at the end. You can repeat this as many times
653 are properly separated, you can use this command to format the whole file: >
660 In case your paragraphs aren't clearly defined, you can format just the lines
665 the second line. Now you can use "." to repeat the command. Keep doing this
683 You can also use "g~" to swap case. All these are operators, thus they work
687 lowercase. This can be shortened to "guu". "gUgU" is shortened to "gUU" and
696 Vim has a very powerful set of commands, it can do anything. But there may
697 still be something that an external command can do better or faster.
720 screen and a ! prompt displays. You can now type in the name of the filter
777 The command may have arguments. And a range can be used to tell where Vim
816 that it knows need redrawing. But it can't know about what another program