In MacVim autochdir works without a problem. However, lately I’ve been running iTerm2 (full screen with split) for coding and the lack of autochdir is really bothering me. Any solutions? Thanks.
In MacVim autochdir works without a problem. However, lately I’ve been running iTerm2 (full
Share
What do you mean by “the lack of
autochdir“? It works fine both in CLI and in GUI.If you have
set autochdirin your~/.vimrcthis feature will work the same way whether you are in MacVim or iTerm2 or Terminal or whatever.But I suspect you are changing dirs in an iTerm2 split and expecting Vim to somehow learn about that change and change its
pwdaccordingly. Am I right? “Unfortunately” Vim doesn’t know about the second iTerm2 split and can’t react to yourcdthere.