Commit Graph

4 Commits (85ef3263fcfe578aecdac2aecd6c949fed921a7f)

Author SHA1 Message Date
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 10 years ago
Junegunn Choi b9b1eeffce Update Vader tests 10 years ago
Junegunn Choi e7439ce193 Major update to Vim plugin 11 years ago