Tuesday, January 31, 2012

Re: How to search a "path" string in a file?

On 2012-01-31, Jerry Dai wrote:
> Hi,
>
> I have a file with a lot of path in it. I want to search "/home/user/bin/
> session.log" without changing "/" to "\/".
> How should I do it?

The easiest way is probably to begin a reverse search by typing '?'
followed by your path. If you want to change that to a forward
search, simply type '/' and Enter.

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: