Skip to content

Fail to open the file of the search result when the working directory change #344

@vds2212

Description

@vds2212

I'm using vim-rooter that change the working directory of Vim when I open a file.

Suppose I have the following hierarchy

Root

  • .gitignore
  • file a
  • folder b
    • .gitignore
    • file c

If I do a query in the root folder that find occurence to

  • file a
  • folder b/file b

I can visit file a
I can visit file b

But when I visit file b the working directory change to folder b and I can't visit file a anymore (the link is broken because it is relative to root and the working directory has changed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions