
write | 751
vi
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
view
vie[[+num] filename]
Same as edit, but set file to readonly. When executed in ex mode,
return to normal or visual mode. {vim}
visual
[address] vi [type] [count]
Enter visual mode (vi) at the line specified by address. Return to ex
mode with Q. type can be one of -, ^,or. (See the z command).
count specifies an initial window size.
visual
vi [+ num] file
Begin editing file in visual mode (vi), optionally at line num.
vsplit
[count] vs [+num] [filename]
Same as the split command, but split the screen vertically. The
count argument can be used to specify a width for the new window.
{vim}
wall
wa[!]
Write all changed buffers with filenames. Add ! to force writing of
any buffers marked readonly. {vim}
wnext
[count] wn[!] [[+num] filename]
Write current buffer and open next file in argument list, or the
count’th next file if specified. If filename is specified, edit it next.
With the +num argument, begin editing on line num. num may also
be a pattern of the form /pattern. {vim}
write
[address] w[!] [[>>] file]
Write lines specified by address to file, or write full contents of
buffer if address is not specified. If file is also omitted, save the
contents of the buffer to the current filename. If >> file is used,
append lines to the end of the specified file. Add a ! to force the
editor to ...