diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-11 23:47:46 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-04-11 23:47:46 +0900 |
| commit | 8385a55bda0e1eb8273fc0598010a9f0fb6d1710 (patch) | |
| tree | a00f888d564ca78a3dcbe4d60a9c0d1a14077afb /plugin | |
| parent | 8406cedf2d8755729636bf788037b916c52483f4 (diff) | |
| download | fzf-8385a55bda0e1eb8273fc0598010a9f0fb6d1710.tar.gz | |
[vim] s:pushd after s:split
It is possible that the user has an autocmd that changes the current
directory.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index fc42bb0d..2066d708 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -254,8 +254,8 @@ function! s:split(dict) endfunction function! s:execute_term(dict, command, temps) - call s:pushd(a:dict) call s:split(a:dict) + call s:pushd(a:dict) let fzf = { 'buf': bufnr('%'), 'dict': a:dict, 'temps': a:temps } function! fzf.on_exit(id, code) |
