INSERT CONTROL CHRACTERS INTO vi editor...
Tore Morkemo
tore at bibsyst.UUCP
Thu Dec 6 18:53:10 AEST 1990
In article <1148 at shakti.ncst.ernet.in> jagdeep at ncst.ernet.in (Jagdeep Antani) writes:
> hello!!
Hi !
> I am looking for the manner to insert any control character in vi
In input mode you can enter ctrl-characters by first pressing <CTRL>-v
and then pressing the ctrl-character.
example :
To enter ctrl-l into the text :
Press <CTRL>-v and then <CTRL>-l.
You can also enter <ESC> by pressing <CTRL>-v and the the <ESC> key.
This is very useful with :map and makes it possible to enter <RETURN>
and other useful ctrl-characters in macros.
Tore.
+----------------------------------------------------------------------+
! Tore Morkemo, Bibliotek-Systemer A/S, N-3250 Larvik, Norway !
! uucp: ...nuug!bibsyst!tore Tel: +47 34 82 202 !
! tore at bibsyst.uucp Fax: +47 34 85 185 !
+----------------------------------------------------------------------+
More information about the Comp.unix.questions
mailing list