home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / editors / 3321 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.0 KB

  1. Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!sbusol.rz.uni-sb.de!coli.uni-sb.de!aldebaran!fuenf
  2. From: fuenf@aldebaran.cs.uni-sb.de (Stefan Fuenfrocken)
  3. Newsgroups: comp.editors
  4. Subject: "too dangerous to map that"
  5. Followup-To: comp.editors
  6. Date: 27 Jan 1993 09:05:45 GMT
  7. Organization: University of Saarland (Germany)
  8. Lines: 44
  9. Sender: fuenf@aldebaran (Stefan Fuenfrocken)
  10. Distribution: world
  11. Message-ID: <1k5j99INNkca@coli-gate.coli.uni-sb.de>
  12. NNTP-Posting-Host: aldebaran.cs.uni-sb.de
  13. PathPath: aldebaran!fuenf
  14.  
  15. Hi,
  16.  
  17. Under what circumstance do i get the " too dangerous to map that" message?
  18.  
  19. There were a few times vi refused to map something.
  20. e.g. perform search for fixed patten
  21. :map xx /pattern
  22.  
  23. Does this mean, that i probably will run into conflict with 'internal' vi mappings?
  24.  
  25. Is there a way to do the mapping anyway.
  26. e.g: space bar mapping (well, bad example, since it is not too dangerous to map ;) )
  27.  
  28. map ^V  something
  29.  
  30. an then redefine the mappings for 's' and '~', which use the spacebar-mapping, 
  31. accordingly with the 'l' as substitute.
  32.  
  33.  
  34. Another question:
  35.  
  36. -) is there a way to use the 'unmapped' meaning of mapped symbols?
  37.    suppose you map! the ESC-key to somthing (a stupid thing, i know ;) ), which 
  38.    leaves you with (almost) no possibility to return from any insert/appand/open mode;
  39.    the only thing a can imagine, is to map! an other key to ESC ( with noremap set,
  40.    otherwise: no chance). 
  41.  
  42. -) how can i unmap ALL my map and/or map! mappings at once?
  43.    Do i really have to write an according unmap file wich successivly unmaps
  44.    all my .exrc-mappings, and map \um to :so ~/.unmap ?
  45.  
  46.  
  47. Thanx for your time
  48.  
  49. Stefan.
  50.  
  51. -- 
  52.  
  53. Stefan Fuenfrocken, University of Saarland, FB14 - Prof. Mattern, Im Stadtwald 36,
  54.     W-6600 Saarbruecken, Germany, (+49) 681/302-4576, fuenf@cs.uni-sb.de 
  55.               +Only skydivers know why birds sing+
  56.                 |                    \o/                   \|/
  57.                 |=>                  ((                   --O-- 
  58.                 |                     \\                   /|\ 
  59.