
buffer | 741
vi
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
abbreviate
ab [string text]
Define string when typed to be translated into text.Ifstring and
text are not specified, list all current abbreviations.
Examples
Note: ^M appears when you type ^V followed by Enter.
:ab ora O'Reilly Media, Inc.
:ab id Name:^MRank:^MPhone:
append
[address] a[!]
text
.
Append new text at specified address, or at present address if none
is specified. Add a ! to toggle the autoindent setting that is used
during input. That is, if autoindent was enabled, ! disables it. Enter
new text after entering the command. Terminate input of new text
by entering a line consisting of just a period.
Example
:a Begin appending to current line.
Append this line
and this line too.
. Terminate input of text to append.
args
ar
args file ...
Print the members of the argument list (files named on the
command line), with the current argument printed in brackets ([]).
The second syntax is for vim, which allows you to reset the list of
files to be edited.
bdelete
[num] bd[!] [num]
Unload buffer num and remove it from the buffer list. Add a ! to
force removal of an unsaved buffer. The buffer may also be speci-
fied by filename. If no buffer is specified, remove the current buffer.
{vim}
buffer
[num] b[!] [num]
Begin editing buffer num in the buffer list. Add a ! to force a switch
from an unsaved ...