Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!mcsun!ukc!icdoc!az From: az@doc.ic.ac.uk (Alexios Zavras) Newsgroups: comp.editors Subject: Re: map the space bar Summary: Don't Message-ID: <2878@gould.doc.ic.ac.uk> Date: 12 Feb 91 15:07:45 GMT References: <984@uncw.UUCP> Sender: news@doc.ic.ac.uk Organization: Dept. of Computing, Imperial College, London, UK. Lines: 28 In article <984@uncw.UUCP> english@uncw.UUCP (Warren R. English Jr.) writes: >I was wondering if it is possible to map the >space bar in command mode to a key? >I have tried: >:map \ ^D >Is it possible to do this? If so, How? Yes, I guess that some people would like the space key to have a meaning similar to more(1) or other viewing programs... Although it *is* possible, I would strongly advise against it. The space key is actually used internally in vi ! If my memory is right, the ~ command, (toggle Upper/lower case) uses the space to advance to the next character. So, unless you also want to move down half a page when toggling cases (and maybe some other times), do not map the space key. BTW, if you still want to do it, the escape character is ^V (control-V), not \ as you tried (and you have to type it twice to get it). >Warren English >ecsvax!uncw.uucp!english -- zvr - Alexios Zavras Usually zvr@theseas.ntua.gr, but until Feb.15 at az@doc.ic.ac.uk