home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!sdd.hp.com!usc!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
- From: dattier@ddsw1.mcs.com (DWT)
- Subject: Re: mapping space bar
- Message-ID: <C1H0wt.GDq@ddsw1.mcs.com>
- Date: Tue, 26 Jan 1993 17:07:41 GMT
- References: <C1F8AD.HF9@ccu.umanitoba.ca>
- Organization: Contributor Account at ddsw1, Chicago, Illinois 60657
- Lines: 21
-
- mdoob@ccu.umanitoba.ca (Michael Doob) wrote in <C1F8AD.HF9@ccu.umanitoba.ca>:
-
- | Is it possible to use the map command to remap the space bar? If so, what's
- | the right syntax. Things like ^V<space> won't do the job.
-
- You may end up very sorry, because some built-in mappings (like s and ~)
- depend on the space bar's meaning "move one character to the right," but if
- you want to try anyway, type TWO ctrl-V's so that there is a hard ^V saved in
- the map command:
-
- "type ctrl-V ctrl-V space space
- :map ^V whateveryouwantspacetomean
-
- Be sure to put two spaces after the hard ctrl-V: one to get quoted and one to
- separate the two arguments to the map command.
-
- vi may still object that it's "too dangerous to map that." If it does, give
- up. I have successfully (and safely) map!ped <space><space>.
-
- David W. Tamkin Box 59297 Northtown Station, Illinois 60659-0297
- dattier@ddsw1.mcs.com CompuServe: 73720,1570 MCI Mail: 426-1818
-