home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: 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
-
- 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
-