
748
|
Chapter 9: The vi, ex, and vim Editors
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
right
[address] ri [width]
Right-align lines specified by address, or current line if no address is
specified, to column width. Use textwidth option if no width is
specified. {vim}
sbnext
[count] sbn [count]
Split the current window and begin editing the count’th next buffer
from the buffer list. If no count is specified, edit the next buffer in
the buffer list. {vim}
sbuffer
[num] sb [num]
Split the current window and begin editing buffer num from the
buffer list in the new window. The buffer to be edited may also be
specified by filename. If no buffer is specified, open the current
buffer in the new window. {vim}
set
se parameter1 parameter2 ...
Set a value to an option with each parameter, or, if no parameter is
supplied, print all options that have been changed from their
defaults. For boolean options, each parameter can be phrased as
option or nooption; other options can be assigned with the syntax
option=value. Specify all to list current settings. The form set
option? displays the value of option. See the list of set options in the
section “The :set Command,” earlier in this chapter.
Examples
:set nows wm=10
:set all
shell
sh
Create a new shell. Resume editing when the shell terminates.
snext
[count] sn [[+num] filelist]
Split the current window and