Gary Johnson [EMAIL PROTECTED] wrote:
> On 2007-02-02, [EMAIL PROTECTED] wrote:
> > I have a string that has lots of forward slashes. I need to search it
> > and delete it (e.g. unix path name).  I could use a backslash for
> > everything forward slash and find it in vim. Is there a way I need not
> > do that? For now, I use 'grep -n' to get the line number and then delete
> > it. I don't actually type the string, I just use cut-and-paste!
> 
> In addition to the techniques mentioned by others, you could just 
> search backwards instead of forwards, e.g.,
> 
>     ?/path/to/file

This works great! Thank you all for your responses.

Reply via email to