Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!paperboy!hsdndev!cmcl2!adm!news From: RSS%CALSTATE.bitnet@vm.usc.edu (Richard S. Smith) Newsgroups: comp.unix.questions Subject: Comments in .exrc? Message-ID: <26748@adm.brl.mil> Date: 2 May 91 17:20:58 GMT Article-I.D.: adm.26748 Sender: news@adm.brl.mil Lines: 16 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@CALSTATE.BITNET