I'm looking for a way to synchronize the vim-terminal pwd and vim pwd. so for example
in normal terminal, navigate to directory a >cd /a/ open vim terminal > vim -c ":term ++curwin" inside vim terminal navigate to directory /b/ >cd /b/
Now the vim pwd is /a/ and the vim terminal pwd is /b/.
is there a way to make it so that the vim-terminal cd will affect the vim pwd?
I found :h 'autoshelldir' but couldn't figure it out.
'autoshelldir', that is an option, you are supposed to set it, like
:set autoshelldir. Note, this may depend on the terminal you are using