mirror of
https://github.com/tpope/vim-repeat.git
synced 2026-09-10 07:16:26 -04:00
Remove feedkeys() to aid remapping
This commit is contained in:
parent
613eb1c812
commit
6882b00def
|
|
@ -84,10 +84,9 @@ function! s:repeat(count)
|
||||||
let c = g:repeat_count
|
let c = g:repeat_count
|
||||||
let s = g:repeat_sequence
|
let s = g:repeat_sequence
|
||||||
let cnt = c == -1 ? "" : (a:count ? a:count : (c ? c : ''))
|
let cnt = c == -1 ? "" : (a:count ? a:count : (c ? c : ''))
|
||||||
call feedkeys(r . cnt, 'n')
|
exe 'norm ' . r . cnt . s
|
||||||
call feedkeys(s)
|
|
||||||
else
|
else
|
||||||
call feedkeys((a:count ? a:count : '') . '.', 'n')
|
exe 'norm! '.(a:count ? a:count : '') . '.'
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue