Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!natasha.cs.wisc.edu!zvr From: zvr@natasha.cs.wisc.edu (Alexios Zavras) Newsgroups: comp.editors Subject: Re: vi cursor mapping? Message-ID: <10116@spool.cs.wisc.edu> Date: 9 Apr 90 22:27:14 GMT References: <2037@awdprime.UUCP> <5841.261a0aba@vax1.tcd.ie> Sender: news@spool.cs.wisc.edu Reply-To: zvr@cs.wisc.edu Organization: University of Wisconsin - Computer Sciences Department Lines: 28 In article <2037@awdprime.UUCP>, news@awdprime.UUCP (USENET News) writes: > In article <5841.261a0aba@vax1.tcd.ie> ghawkins@vax1.tcd.ie writes: > > >is it possible to write a mapping or such like to write something at the bottom > >of the screen, e.g. when you press escape it'd say "press i or a to start > >typing again"! > Not really. Why not ? Let's say that we want the `*' key to produce this message. What's wrong with mapping map * :" Press i or a to start typing again^M This goes off to the last line of the screen (:) writes the message as a comment (" blah blah blah) and returns to the cursor (carriage return) (^M) Works fine here, -- zvr -- +---------------------------+ Alexios Zavras | H eytyxia den exei enoxes | zvr@cs.wisc.edu +-----------------------zvr-+ zavras@cs.wisc.edu Live from: Wisconsin: land of Orson Welles, Frank Lloyd Wright, Harry Houdini and Spencer Tracy (of Joe McCarthy, too, but try to forget that)