parent
a81bef7603
commit
2a3c5f8e3c
@ -62,6 +62,10 @@ function! repeat#set(sequence,...)
|
|||||||
let g:repeat_sequence = a:sequence
|
let g:repeat_sequence = a:sequence
|
||||||
let g:repeat_count = a:0 ? a:1 : v:count
|
let g:repeat_count = a:0 ? a:1 : v:count
|
||||||
let g:repeat_tick = b:changedtick
|
let g:repeat_tick = b:changedtick
|
||||||
|
augroup repeat_custom_motion
|
||||||
|
autocmd!
|
||||||
|
autocmd CursorMoved <buffer> let g:repeat_tick = b:changedtick | autocmd! repeat_custom_motion
|
||||||
|
augroup END
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! repeat#setreg(sequence,register)
|
function! repeat#setreg(sequence,register)
|
||||||
|
Loading…
Reference in New Issue
Block a user