X-Priority: 3 (Normal)
X-Authenticated-Sender: #[EMAIL PROTECTED]
X-Authenticated-IP: [134.60.50.4]
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: WWW-Mail 1.5 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
"Horace G. Friend III" <[EMAIL PROTECTED]> wrote:
> I would like to ask a question since the search command has a
> side-effect in the editor. Since the "-c ':$;?^$'" is a search command
> for a blank line, it leaves blank lines highlighted as a result of the
> search. How can I make this disappear automatically?
Try vim -c ":$;?^$" -c ":nohls".
This will switch off highlighting the most recent search pattern,
but keeps hlsearch option set, i.e. the next search pattern will
be highlighted again. This is most probably what you want.
Best regards - Juergen.
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net