home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / editors / 3314 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.editors
  2. 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
  3. From: dattier@ddsw1.mcs.com (DWT)
  4. Subject: Re: mapping space bar
  5. Message-ID: <C1H0wt.GDq@ddsw1.mcs.com>
  6. Date: Tue, 26 Jan 1993 17:07:41 GMT
  7. References: <C1F8AD.HF9@ccu.umanitoba.ca>
  8. Organization: Contributor Account at ddsw1, Chicago, Illinois  60657
  9. Lines: 21
  10.  
  11. mdoob@ccu.umanitoba.ca (Michael Doob) wrote in <C1F8AD.HF9@ccu.umanitoba.ca>:
  12.  
  13. | Is it possible to use the map command to remap the space bar? If so, what's
  14. | the right syntax. Things like ^V<space> won't do the job.
  15.  
  16. You may end up very sorry, because some built-in mappings (like s and ~)
  17. depend on the space bar's meaning "move one character to the right," but if
  18. you want to try anyway, type TWO ctrl-V's so that there is a hard ^V saved in
  19. the map command:
  20.  
  21. "type ctrl-V ctrl-V space space
  22. :map ^V  whateveryouwantspacetomean
  23.  
  24. Be sure to put two spaces after the hard ctrl-V: one to get quoted and one to
  25. separate the two arguments to the map command.
  26.  
  27. vi may still object that it's "too dangerous to map that."  If it does, give
  28. up.  I have successfully (and safely) map!ped <space><space>.
  29.  
  30. David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
  31. dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
  32.