Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.editors Subject: Re: vi cursor mapping? Message-ID: <6294@star.cs.vu.nl> Date: 12 Apr 90 15:58:25 GMT References: <5841.261a0aba@vax1.tcd.ie> <54052@microsoft.UUCP> <16640@estelle.udel.EDU> Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatika, Amsterdam, The Netherlands Lines: 26 In article <16640@estelle.udel.EDU>, new@udel.EDU (Darren New) writes: )In article <54052@microsoft.UUCP> nancym@microsoft.UUCP (Nancy McGough) writes: )>I'm not sure if this feature is supported by all versions of vi... [set showmode] )Not in mine. But I do have "set modeline" (which seems to have no )effect. [...] According to the vi ref, `modeline' is something quite different: modeline | When you read an existing file into the buffer, | and this option is set, the first and last 5 | lines are checked for editing commands in the | following form: | | vi:set options|map ...|ab ...|!...: | | Instead of a can be used, instead of | `vi' there can be `ex'. Warning: this option | could have nasty results if you edit a file | containing `strange' modelines. -- 1) Will 4.5BSD have wait5()? |Maarten Litmaath @ VU Amsterdam: 2) Sleep(3) should be sleep(2) again.|maart@cs.vu.nl, uunet!mcsun!botter!maart