🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Stan Reeves Thu, 28 Jan 1993 15:44
vi macro question
#2950
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads