diff --git a/autoload/repeat.vim b/autoload/repeat.vim index df9a7fe..c1c18b8 100644 --- a/autoload/repeat.vim +++ b/autoload/repeat.vim @@ -84,10 +84,9 @@ function! s:repeat(count) let c = g:repeat_count let s = g:repeat_sequence let cnt = c == -1 ? "" : (a:count ? a:count : (c ? c : '')) - call feedkeys(r . cnt, 'n') - call feedkeys(s) + exe 'norm ' . r . cnt . s else - call feedkeys((a:count ? a:count : '') . '.', 'n') + exe 'norm! '.(a:count ? a:count : '') . '.' endif endfunction