home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!email!marvin.tuwien.ac.at!heinz
- From: heinz@marvin.tuwien.ac.at (Heinz Herbeck)
- Subject: How to quote % in vi/ex ': ' escape
- Message-ID: <heinz.689356033@marvin.tuwien.ac.at>
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: marvin.tuwien.ac.at
- Organization: Technical University of Vienna
- Date: Thu, 5 Nov 1992 15:47:13 GMT
- Lines: 27
-
- Sorry if this is in the FAQ or has been discussed here already. I can vaguely
- remember having read about this problem before, but I can't find any
- articles about it in my archives (and I can't find the FAQ either).
-
- How can I insert a % into a ':' command in vi, without it being replaced by
- the current filename ?
- For example, I have a file test.c% in my directory, and want to read it into
- the buffer with
-
- :r test.c%
-
- or edit it with
-
- :e test.c%
-
- ^V% and ^V^V% don't work.
-
- And, in the same way, how to quote # ?
-
- Any help or hint will be appreciated.
-
- MfG
- HH
- --
- - Heinz M. HERBECK heinz@marvin.tuwien.ac.at Tel. +43 1 58801-4107 -
- - Technical University of Vienna, Austria // Institute for Computer Graphics -
- - Hardware, n. : The part of a computer system that can be kicked. -
-