summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-04-04 09:18:04 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-04-04 09:18:04 +0900
commit57319f8c58e23257058a2e698b1f8c612db68d8d (patch)
treea032f7c7e5ec814b46c7243419516f2b147073d9
parentdd4d465305d613d81f9e9ed90f385a61a1b28398 (diff)
[vim] Fix #177 - :FZF with relative paths
-rw-r--r--plugin/fzf.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 94df15f6..479fc7df 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -160,6 +160,7 @@ function! s:pushd(dict)
if s:present(a:dict, 'dir')
let a:dict.prev_dir = getcwd()
execute 'chdir '.s:escape(a:dict.dir)
+ let a:dict.dir = getcwd()
return 1
endif
return 0