-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
vim: sets local dirs (via :lcd) #1085
Comments
I see, but I'm not sure what the issue is. What problem do you have when it's set? Also, |
I am using only The problem is that |
The Vim plugin uses
:lcd
to push/pod dirs, but should rather use the most appropriatecd
command (let cd = haslocaldir() ? 'lcd' : (exists(':tcd') == 2 && haslocaldir(-1, 0)) ? 'tcd' : 'cd'
).Therefore the window where fzf has been used with gets a local dir (
haslocaldir()
).Any thoughts on this, otherwise I might provide a PR which remembers the prev dir together with the command being used (and use that also for popping).
The text was updated successfully, but these errors were encountered: