Commit Graph

5 Commits (a7c9c08371d27b550f3896ab554f6490871a7a0a)

Author SHA1 Message Date
Junegunn Choi 942ba749c7
[vim] Restore working directory even when new window is opened
Close #612
8 years ago
Junegunn Choi 0f281ef894 [vim] Try to make 'dir' option compatible with &autochdir
When 'dir' option is passed to fzf#run(), the current working directory
is temporarily changed to the given directory, and restored at the end.
However, this behavior is not compatible with &autochdir. This commit
introduces a heuristic to determine whether or not to restore the
previous working directory.

Related: https://github.com/junegunn/fzf.vim/issues/70
9 years ago
Junegunn Choi 68503d32df [vim] Code cleanup 9 years ago
Junegunn Choi b9b1eeffce Update Vader tests 9 years ago
Junegunn Choi e7439ce193 Major update to Vim plugin 10 years ago