diff --git a/autoload/fz.vim b/autoload/fz.vim index 974dadc..01a2302 100644 --- a/autoload/fz.vim +++ b/autoload/fz.vim @@ -174,7 +174,7 @@ function! fz#run(...) botright new let l:ctx['buf'] = bufnr('%') if s:is_nvim - call termopen(l:cmd, {'on_exit': function('s:exit_cb', [l:ctx]), 'cwd': l:ctx['basepath']}) | startinsert + call termopen(l:cmd, {'on_exit': function('s:exit_cb', [l:ctx]), 'cwd': l:ctx['basepath']}) | startinsert | set nonumber else call term_start(l:cmd, {'term_name': 'Fz', 'curwin': l:ctx['buf'] > 0, 'exit_cb': function('s:exit_cb', [l:ctx]), 'tty_type': 'conpty', 'cwd': l:ctx['basepath']}) endif