Lines Matching refs:to

9 breaking sentences to make them fit on a page and other formatting.
27 to press <Enter> yourself. This is useful when you are writing programs where
28 you want to decide where the line ends. It is not so good when you are
29 creating documentation and want the text to be at most 70 character wide.
32 characters. You need to execute the following command: >
60 You do not have to type newlines; Vim puts them in automatically.
89 "v" to start Visual mode, "4j" to move to the end of the paragraph and then
100 Note: there is a way to do automatic formatting for specific types of text
103 Since "gq" is an operator, you can use one of the three ways to select the
106 you have to know the line count. A more useful motion command is "}". This
107 moves to the end of a paragraph. Thus "gq}" formats from the cursor to the
109 A very useful text object to use with "gq" is the paragraph. Try this: >
120 "gg" to move to the first line, "gqG" to format until the last line.
122 together. A common mistake is to have a line with a space or tab. That's a
125 Vim is able to format more than just plain text. See |fo-table| for how to
126 change this. See the 'joinspaces' option to change the number of spaces used
128 It is possible to use an external program for formatting. This is useful
139 {range} is the usual command-line range. [width] is an optional line width to
140 use for centering. If [width] is not specified, it defaults to the value of
175 Unlike ":center" and ":right", however, the argument to ":left" is not the
210 An alternative is to filter the text through an external program. Example: >
217 Indents can be used to make text stand out from the rest. The example texts
236 is used as ">>", which adds indent to the current line.
253 If you want to make indents a multiple of 4, you set 'shiftwidth' to 4. But
265 You could set the 'tabstop' option to 4. However, if you edit the
266 file another time, with 'tabstop' set to the default value of 8, it
268 also be wrong. Therefore it is recommended to keep 'tabstop' at eight
276 'tabstop' to 3. But you have to do this every time you edit this file.
277 Vim can change the use of tabstops in your file. First, set 'tabstop' to
283 The ":retab" command will change 'tabstop' to 8, while changing the text such
288 a string constant. Therefore it's a good habit to use "\t" instead of a
299 to the right.
300 When you move the cursor to a character that can't be seen, Vim will scroll
301 the text to show it. This is like moving a viewport over the text in the
304 want to enable one, use the following command: >
310 If you don't have a scrollbar or don't want to use it, use these commands to
317 ze scroll right to put the cursor at the end
321 zs scroll left to put the cursor at the start
323 Let's attempt to show this with one line of text. The cursor is on the "w" of
343 following commands to move the cursor to a character you can see. Thus text
344 left and right of the window is ignored. These never cause the text to
347 g0 to first visible character in this line
348 g^ to first non-blank visible character in this line
349 gm to middle of screen line
350 gM to middle of the text in this line
351 g$ to last visible character in this line
360 When preparing text for use by another program, you might have to make
363 broken halfway, which makes them hard to read.
371 |ank. They wanted to send out a s|
372 |pecial, personalized letter to th|
384 |bank. They wanted to send out a |
385 |special, personalized letter to |
392 'showbreak' specifies a string to show at the start of broken line.
393 Set 'textwidth' to zero to avoid a paragraph to be split.
398 The "j" and "k" commands move to the next and previous lines. When used on
402 move to a character displayed one line below or above.
403 You might like to use these mappings, which bind these movement commands to
412 If you want to import text into a program like MS-Word, each paragraph should
431 |for a bank. They wanted to |
444 |bank. They wanted to send out a s|
456 paragraph to be joined.
467 You need to enter numbers in the third column. You could move to the second
473 Now you can move the cursor to positions where there isn't any text. This is
487 to enter the next field in this column use "Bj". "B" moves back to the start
488 of a white space separated word. Then "j" moves to the place where the next
499 You want to add a column, which should be a copy of the third column and
501 1. Move the cursor to the left upper corner of this column, e.g., with
503 2. Press CTRL-V to start blockwise Visual mode.
506 4. Move the cursor right, to include the whole column in the selection, plus
509 6. Move the cursor to "test 1", where the new column must be placed.
521 Go back to non-virtual cursor movements with: >
553 right amount of screen space. Extra spaces or tabs are inserted to fill the
555 blanks added to make the text after it keep its place. In this case a
557 When you need to replace more than one character, you use the "R" command
558 to go to Replace mode (see |04.9|). This messes up the layout and replaces