mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-11 10:12:01 -07:00
[vim] s:pushd after s:split
It is possible that the user has an autocmd that changes the current directory.
This commit is contained in:
@@ -254,8 +254,8 @@ function! s:split(dict)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:execute_term(dict, command, temps)
|
function! s:execute_term(dict, command, temps)
|
||||||
call s:pushd(a:dict)
|
|
||||||
call s:split(a:dict)
|
call s:split(a:dict)
|
||||||
|
call s:pushd(a:dict)
|
||||||
|
|
||||||
let fzf = { 'buf': bufnr('%'), 'dict': a:dict, 'temps': a:temps }
|
let fzf = { 'buf': bufnr('%'), 'dict': a:dict, 'temps': a:temps }
|
||||||
function! fzf.on_exit(id, code)
|
function! fzf.on_exit(id, code)
|
||||||
|
Reference in New Issue
Block a user