Getting vi to automagically use macros

Adam Moskowitz adamm at necis.UUCP
Wed Jun 29 09:01:19 AEST 1988


This has probably been asked before, but since limited disk space prevents me
from saving everything I might ever need . . .

Is there a way to set up some vi macros via my .exrc file or the EXINIT
environment variable? I know that I can fake it my mapping the two-char
sequence "@x" to the string I want, but is there a way to automatically
have a "real" macro set up every time I start-up vi?

E-MAIL me your replies and I'll summarize to the net if I get anything.

Thanx in advance.
-- 
Adam S. Moskowitz	            ...!(backbone)!{necntc,encore}!necis!adamm

        "The morning blues, they make me feel so bad;
         it's the worst damn feeling I ever had."



More information about the Comp.unix.questions mailing list