I'm working in project-a/ and then jump :Z project-b. Vim's current working directory :pwd is still pointing to project-a/. Fuzzy finders, path resolvers, and sometimes linters will try to execute relative to the old project-a/ repo even though I'm working in a completely different context.
I'd like an option that, if enabled, changes the local working directory after navigating via :Z. It should be opt-in.
Say I have two projects:
I'm working in
project-a/
and then jump:Z project-b
. Vim's current working directory:pwd
is still pointing toproject-a/
. Fuzzy finders, path resolvers, and sometimes linters will try to execute relative to the oldproject-a/
repo even though I'm working in a completely different context.I'd like an option that, if enabled, changes the local working directory after navigating via
:Z
. It should be opt-in.