🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2950

vi macro question

#2950
From: Stan Reeves
Date: Thu, 28 Jan 1993 15:44
18 lines
1212 bytes
I have my EXINIT variable set as follows:

setenv EXINIT "map q /^>Status:

The purpose of the map is so that when I go into vi from mail I can hit
"q" and have it automatically delete the mail header from quoted mail.
This works just fine.  However, when I try to undo ("u") a delete later
on in the editing session, it undoes *everything* from the point I 
started the editing session.  Sometimes the editor mumbles something
about a global macro, although I can't remember the exact circumstances.
Anybody got any ideas on why "u" undoes everything rather than just the
last change?  Any ideas on how to change that behavior?


--
Stan Reeves
Auburn University, Department of Electrical Engineering, Auburn, AL  36849
INTERNET: sjreeves@eng.auburn.edu
Technical Details
Message-ID: <sjreeves.930128094458@fourier.ee.eng.auburn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!sjreeves

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!sjreeves
From: sjreeves@eng.auburn.edu (Stan Reeves)
Subject: vi macro question
Message-ID: <sjreeves.930128094458@fourier.ee.eng.auburn.edu>
Sender: usenet@news.duc.auburn.edu (News Account)
Nntp-Posting-Host: fourier.ee.eng.auburn.edu
Organization: Auburn University Engineering
Date: Thu, 28 Jan 1993 15:44:58 GMT
Lines: 18