mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 16:45:38 -05:00
[vim] Fix #177 - :FZF with relative paths
This commit is contained in:
@@ -160,6 +160,7 @@ function! s:pushd(dict)
|
|||||||
if s:present(a:dict, 'dir')
|
if s:present(a:dict, 'dir')
|
||||||
let a:dict.prev_dir = getcwd()
|
let a:dict.prev_dir = getcwd()
|
||||||
execute 'chdir '.s:escape(a:dict.dir)
|
execute 'chdir '.s:escape(a:dict.dir)
|
||||||
|
let a:dict.dir = getcwd()
|
||||||
return 1
|
return 1
|
||||||
endif
|
endif
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user