Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • Jerry Dai
    Feb 1, 2012
    • 0 Attachment
      Thanks.
      This works perfectly!
       
      -- --
      Best Regards
      Jerry Dai



      On Tue, Jan 31, 2012 at 10:37 AM, Gary Johnson <garyjohn@...> wrote:
      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

      --
      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
    • Show all 5 messages in this topic