BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / vi.0
VI(1) UNIX Programmer's Manual VI(1)
N\bNA\bAM\bME\bE
vi - screen oriented (visual) display editor based on ex
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
v\bvi\bi [ -\b-t\bt tag ] [ -\b-r\br ] [ +\b+_\bc_\bo_\bm_\bm_\ba_\bn_\bd ] [ -\b-l\bl ] [ -\b-w\bw_\bn ] name ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bV_\bi (visual) is a display oriented text editor based on
_\be_\bx(1). _\bE_\bx and _\bv_\bi run the same code; it is possible to get
to the command mode of _\be_\bx from within _\bv_\bi and vice-versa.
The _\bV_\bi _\bQ_\bu_\bi_\bc_\bk _\bR_\be_\bf_\be_\br_\be_\bn_\bc_\be card and the _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn _\bt_\bo _\bD_\bi_\bs_\bp_\bl_\ba_\by
_\bE_\bd_\bi_\bt_\bi_\bn_\bg _\bw_\bi_\bt_\bh _\bV_\bi provide full details on using _\bv_\bi.
F\bFI\bIL\bLE\bES\bS
See _\be_\bx(1).
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
ex (1), edit (1), ``Vi Quick Reference'' card, ``An Intro-
duction to Display Editing with Vi''.
A\bAU\bUT\bTH\bHO\bOR\bR
William Joy
Mark Horton added macros to _\bv_\bi_\bs_\bu_\ba_\bl mode and is maintaining
version 3
B\bBU\bUG\bGS\bS
Software tabs using ^\b^T\bT work only immediately after the
_\ba_\bu_\bt_\bo_\bi_\bn_\bd_\be_\bn_\bt.
Left and right shifts on intelligent terminals don't make
use of insert and delete character operations in the termi-
nal.
The _\bw_\br_\ba_\bp_\bm_\ba_\br_\bg_\bi_\bn option can be fooled since it looks at output
columns when blanks are typed. If a long word passes
through the margin and onto the next line without a break,
then the line won't be broken.
Insert/delete within a line can be slow if tabs are present
on intelligent terminals, since the terminals need help in
doing this correctly.
Saving text on deletes in the named buffers is somewhat
inefficient.
The _\bs_\bo_\bu_\br_\bc_\be command does not work when executed as :\b:s\bso\bou\bur\brc\bce\be;
there is no way to use the :\b:a\bap\bpp\bpe\ben\bnd\bd, :\b:c\bch\bha\ban\bng\bge\be, and :\b:i\bin\bns\bse\ber\brt\bt
commands, since it is not possible to give more than one
line of input to a :\b: escape. To use these on a :\b:g\bgl\blo\bob\bba\bal\bl you
must Q\bQ to _\be_\bx command mode, execute them, and then reenter
the screen editor with _\bv_\bi or _\bo_\bp_\be_\bn.
Printed 7/9/88 April 29, 1985 1