11.5 Multiwindow EditingThere are a large number of vi mode commands for manipulating windows, as well as a number of ex mode commands that correspond to most of the vi mode commands.
As in elvis
, the <preface id="VI6-CH-0"> <title>Preface </title> <para> Text editing is one of the most common uses of any computer system, and <command>vi</command> is one of the most useful standard text editors on your system. With <command>vi</command> you can create new files, or edit any existing UNIX text file. ch00.sgm # Makefile for vi book # # Arnold Robbins CHAPTERS = ch00_6.sgm ch00_5.sgm ch00.sgm ch01.sgm ch02.sgm ch03.sgm \ ch04.sgm ch05.sgm ch06.sgm ch07.sgm ch08.sgm APPENDICES = appa.sgm appb.sgm appc.sgm appd.sgm POSTSCRIPT = ch00_6.ps ch00_5.ps ch00.ps ch01.ps ch02.ps ch03.ps \ ch04.ps ch05.ps ch06.ps ch07.ps ch08.ps \ Makefile The split screen is the result of typing
Unlike nvi
and elvis
, all windows
share the bottom line of the screen
for execution of ex
commands.
However, the status line for each file displays Table 11.1 describes the most important vim window management commands.
There are many
more commands for managing the argument list and the list of open buffers.
For example, the As vim has the most ex commands, so too it has the most vi mode commands, as shown in Table 11.2 . As with most vi commands, you can prefix many of the windowing commands with a count.
Miscellaneous remarks:
The command | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|