diff --git a/plugin/remotedir.vim b/plugin/remotedir.vim index 97f7c48..631d6b5 100644 --- a/plugin/remotedir.vim +++ b/plugin/remotedir.vim @@ -75,7 +75,6 @@ function! s:PrepD(...) silent! call mkdir(dir,'p') endif call call('dirvish#open',[dir] + (a:0 > 1 ? a:000[1:] : [])) - delfunc dirvish#open call setline(1,s:Lsr(in_cache ? s:cache_url[path] : path)) exe 'au! dirvishRemote funcundefined dirvish#open if bufname("%") ==#' string(bufname('%')) \ '| redir => g:remote_out | call feedkeys(":\echon ''''|redi END|cal g:Refunc()\","n") | endif'