Xref: utzoo comp.editors:221 comp.unix.questions:7828 Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!necntc!necis!adamm From: adamm@necis.UUCP (Adam Moskowitz) Newsgroups: comp.editors,comp.unix.questions Subject: Getting vi to automagically use macros Keywords: vi, macros Message-ID: <653@necis.UUCP> Date: 28 Jun 88 23:01:19 GMT Organization: NEC Information Systems, Acton, MA Lines: 15 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."