Skip to content
Myr

[vim] s:pushd after s:split

Before adoption: this commit came in with the history the project adopted, so no landing records it.

It is possible that the user has an autocmd that changes the current directory.

authored by Junegunn Choi · committed by Junegunn Choi · parent 8406ced · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
252 unmodified lines
253 endtry254endfunction255256function! s:execute_term(dict, command, temps)257 call s:pushd(a:dict)257 call s:split(a:dict)258 call s:pushd(a:dict)259260 let fzf = { 'buf': bufnr('%'), 'dict': a:dict, 'temps': a:temps }261 function! fzf.on_exit(id, code)262 let tab = tabpagenr()
96 unmodified lines