Replies: 6 comments 2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
I think this is a good feature . could the code related to this config be merged to allow the intended behavior ? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
There might be also an issue with the |
Beta Was this translation helpful? Give feedback.
-
Is there any interested still in adding this? I have to traverse through a lot of different repos and projects when working on things, so it would be very helpful if the current working directory would change when i go to different project. |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions