Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gitpyr.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!gitpyr!robert From: robert@gitpyr.UUCP (Robert Viduya) Newsgroups: net.unix Subject: Re: [Long] Re: Re: h,j,k,l in vi. Message-ID: <187@gitpyr.UUCP> Date: Sat, 2-Mar-85 00:49:58 EST Article-I.D.: gitpyr.187 Posted: Sat Mar 2 00:49:58 1985 Date-Received: Sun, 3-Mar-85 05:28:51 EST References: <10004@ulysses.UUCP> Organization: Georgia Tech, Atlanta Lines: 27 >< Posted from csw@ulysses.UUCP (Chris Warth) > However, I must make allowances for those people using vi. Vi > provides a method of mapping that I call "interpreted mapping". > Interpreted mapping simply allows you to substitute one key sequence > with another. When the first sequence is typed, the second sequence > is inserted in its place and interpreted normally. This method has > its drawbacks; in vi, it is not possible to map '^F' to some other > command and still be able to scroll forward. Um, sorry, but you can map ^F and still be able to page forward. You just have to set noremap. I just tried it and it works. Here's what I typed: :set noremap :map ^F ^G :map ^A ^F This set control-F to show what file you're editting and where. Control-A is now the page forward key. robert -- Robert Viduya Georgia Institute of Technology ...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!robert ...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!robert