Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ORAKEL@RZMAIN.RZ.UNI-ULM.DE (Framstag)
Subject: EDT keypad emulation in vi?
Date: Sat, 9 May 1992 16:32:56 GMT	[thread overview]
Message-ID: <1992May9.163256.11131@wega.rz.uni-ulm.de> (raw)

Hi there,

I'm an infrequent UNIX user and I always (automaticly) try to use the EDT
keypad in vi. Which doesn't lead to correct results :-)

I customized an .exrc file with some map commands. Does someone have a more
sophisticated .exrc for a poor and stupid VMS user like me? :-)

I'm aware of EMACS EDT emulation, but on several machines I only have vi
and no space to install EMACS.
Please no flames on "why EDT?  vi is the best editor of the world!" etc
etc..

Here my .exrc so far:

map ^[[2~ "aP
map ^[[3~ "ad`a
map ^[Ov "ad`a
map ^[[4~ ma
map ^[[5~ kkkkkkkkkkk
map ^[[6~ jjjjjjjjjjj
map ^[OP P
map ^[OS "ld$
map ^[OS d$
map ^[Om "wdw
map ^[Om dw
map ^[Ol "cdl
map ^[Ol x
map ^[Op ^M
map ^[Oq w
map ^[Or $
map ^[On ma
map ^? X
map ^[[A k
map ^[[B j
map ^[[C l
map ^[[D h
map ^[[23~ ^[
map! ^[[23~ ^[

PS: I use a VT220

------------------------------------------------------------------------------
 Ulli Horlacher # Student consultant VAX/VMS and networks # University of Ulm
       orakel@dulruu51.bitnet # orakel@rz.uni-ulm.de # 50184::orakel
     "With mainframes you just can do nonsense, with PCs not even that." 
------------------------------------------------------------------------------


                 reply	other threads:[~1992-05-09 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox