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

126803Re: Cannot use gf to go to file, path seems set

Expand Messages
  • Dotan Cohen
    Nov 2, 2011
    • 0 Attachment
      On Tue, Nov 1, 2011 at 17:27, Jacobo de Vera <devel@...> wrote:
      > I have a similar situation at work, where stuff is compiled inside a
      > chrooted environment, yet editing happens outside, so full paths in
      > files are really relative when editing. What I do is to visually
      > select the path, excluding the initial slash, and then use gf, which
      > will work on the selected text only.
      > Perhaps there is a faster way to do this, I'd love to hear about it.

      A few posts back Gary outlined a remap just for this. It is an
      excellent post, I recommend going over it rather than just copying the
      end result here.

      Dotan Cohen


      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 10 messages in this topic