Comments in .exrc?

Richard S. Smith RSS%CALSTATE.bitnet at vm.usc.edu
Fri May 3 03:20:58 AEST 1991


Here's an interesting one:  I'm looking for a way to selectively
comment out certain lines in my .exrc file.  The problem is that
vi leaves precious few keys left for remapping, so I need the
ability to turn the definitions on and off with as little fuss
as possible.

If I try a # at the beginning of a line, I get some error message,
and the whole rest of the file gets bypassed.  I could exploit this
as a feature, but I really don't want to.

I suppose the underlying question is whether ex has a "comment" or
"no-op" command.  There's none mentioned in my (Xenix) manuals.

Any ideas?

Richard Smith - RSS at CALSTATE.BITNET



More information about the Comp.unix.questions mailing list