RE: search command in visual mode - how to?

2007-02-13 Thread Sibin P. Thomas
st assured I really do need this. Regards, Sibin -Original Message- From: Charles E Campbell Jr [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 12:31 AM To: Sibin P. Thomas Cc: vim@vim.org Subject: Re: search command in visual mode - how to? Sibin P. Thomas wrote: >Hi

Re: search command in visual mode - how to?

2007-02-13 Thread Charles E Campbell Jr
Sibin P. Thomas wrote: Hi all, I am stuck in one of my scripting attempts! The context : Suppose I want to delete the string "bio" from the following line "The biosphere is huge" and I want to do it in this way -> /bios v //e d Now I want to do the same thing, but conditionally...basically I

Re: search command in visual mode - how to?

2007-02-13 Thread Tim Chase
The context : Suppose I want to delete the string "bio" from the following line "The biosphere is huge" and I want to do it in this way -> /bios v //e d Now I want to do the same thing, but conditionally...basically I want to use the :if construct. I tried -> :if (@0=~"something") | exe "/bios" |