home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / editors / 2668 next >
Encoding:
Text File  |  1992-11-05  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!email!marvin.tuwien.ac.at!heinz
  3. From: heinz@marvin.tuwien.ac.at (Heinz Herbeck)
  4. Subject: How to quote % in vi/ex ': ' escape
  5. Message-ID: <heinz.689356033@marvin.tuwien.ac.at>
  6. Sender: news@email.tuwien.ac.at
  7. Nntp-Posting-Host: marvin.tuwien.ac.at
  8. Organization: Technical University of Vienna
  9. Date: Thu, 5 Nov 1992 15:47:13 GMT
  10. Lines: 27
  11.  
  12. Sorry if this is in the FAQ or has been discussed here already. I can vaguely
  13. remember having read about this problem before, but I can't find any 
  14. articles about it in my archives (and I can't find the FAQ either).
  15.  
  16. How can I insert a % into a ':' command in vi, without it being replaced by
  17. the current filename ?
  18. For example, I have a file test.c% in my directory, and want to read it into
  19. the buffer with
  20.  
  21. :r test.c%
  22.  
  23. or edit it with
  24.  
  25. :e test.c%
  26.  
  27. ^V% and ^V^V% don't work.
  28.  
  29. And, in the same way, how to quote # ?
  30.  
  31. Any help or hint will be appreciated.
  32.  
  33. MfG
  34. HH
  35. -- 
  36. - Heinz M. HERBECK       heinz@marvin.tuwien.ac.at       Tel. +43 1 58801-4107 -
  37. - Technical University of Vienna, Austria  //  Institute for Computer Graphics -
  38. - Hardware, n. : The part of a computer system that can be kicked.             -
  39.