diff --git a/autoload/repeat.vim b/autoload/repeat.vim index e8fe723..18b1280 100644 --- a/autoload/repeat.vim +++ b/autoload/repeat.vim @@ -62,6 +62,10 @@ function! repeat#set(sequence,...) let g:repeat_sequence = a:sequence let g:repeat_count = a:0 ? a:1 : v:count let g:repeat_tick = b:changedtick + augroup repeat_custom_motion + autocmd! + autocmd CursorMoved let g:repeat_tick = b:changedtick | autocmd! repeat_custom_motion + augroup END endfunction function! repeat#setreg(sequence,register)