-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add autochdir option #2056
Comments
This could be interesting with something like the recently merged #1600. OTOH it seems like if I used it, I would end up having to think about which buffer I'm in before doing anything that takes the cwd into account which could be confusing. |
Yes I would like this feature as well, Emacs works like this and you can have multiple projects open at the same time with different working directories |
I think this is a good feature . could the code related to this config be merged to allow the intended behavior ? |
Maybe if it is enabled, there is an option to show the directory of the buffer. So here are a possible config options for this feature: Defaults: [editor]
autochdir = false # by default, it is false If enabled: [editor.autochdir]
show-directory = false
truncation-length = 2 # truncate the directory paths as desired I want it to be disabled by default since some people do get confused when it is enabled by default |
There might be also an issue with the |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe your feature request
In Neovim, there's an option
'autochdir'
that does the following:I was wondering if something like this could be added to Helix?
(FWIW I actually managed to get it somewhat working but then realized what I had doesn't work for switching between splits, and probably several other edgecases I haven't considered, so figure it's probably best to make this issue about it.)
I will say that I've been using this option in Neovim for a while, but the more I think about it, this might not actually be a feature worth adding (and I might drop it from my neovim config actually). I'm honestly not sure, so interested to hear other's thoughts on this.
The text was updated successfully, but these errors were encountered: