Skip to content

Prevent automatic change of cwd when navigating files in a mono repo #2238

Answered by simonvizzini
simonvizzini asked this question in Q&A
Discussion options

You must be logged in to vote

Finally found the place responsible for changing the cwd. It's on this line:

lvim.builtin.nvimtree.setup.update_cwd = true

Basically if lvim.builtin.project.active is true (which is the default) it will set the nvimtree option update_cwd also to true, effectively overriding my own config. So disabling this project feature did solve my issue, although now I can't use this feature anymore, which is unfortunate but I can live without it for now.

Replies: 3 comments 17 replies

Comment options

You must be logged in to vote
12 replies
@gligorot
Comment options

@gligorot
Comment options

@gligorot
Comment options

@gligorot
Comment options

@mkarbo
Comment options

Answer selected by kylo252
Comment options

You must be logged in to vote
5 replies
@simonvizzini
Comment options

@danielo515
Comment options

@simonvizzini
Comment options

@rebuilt
Comment options

@simonvizzini
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants