Fix '.' repeat with count and trivial
This commit is contained in:
parent
3c562d9572
commit
b624c9cec1
@ -322,8 +322,8 @@ function! EasyMotion#DotRepeat(visualmode) " {{{
|
|||||||
let is_exclusive = s:previous.is_exclusive
|
let is_exclusive = s:previous.is_exclusive
|
||||||
let s:current.is_operator = 1
|
let s:current.is_operator = 1
|
||||||
let s:flag.within_line = s:previous.line_flag
|
let s:flag.within_line = s:previous.line_flag
|
||||||
let s:flag.dot_repeat = 1
|
|
||||||
for cnt in range(v:count1)
|
for cnt in range(v:count1)
|
||||||
|
let s:flag.dot_repeat = 1 " s:EasyMotion() always call reset
|
||||||
silent call s:EasyMotion(re, direction, 0, is_exclusive)
|
silent call s:EasyMotion(re, direction, 0, is_exclusive)
|
||||||
endfor
|
endfor
|
||||||
endfunction " }}}
|
endfunction " }}}
|
||||||
|
@ -919,7 +919,7 @@ describe 'g:EasyMotion_smartsign'
|
|||||||
map T <Plug>(easymotion-T)
|
map T <Plug>(easymotion-T)
|
||||||
call EasyMotion#init()
|
call EasyMotion#init()
|
||||||
call AddLine('poHe huga Hiyo hoyo: poyo();')
|
call AddLine('poHe huga Hiyo hoyo: poyo();')
|
||||||
1234567890123456789012345678
|
" 1234567890123456789012345678
|
||||||
normal! gg0
|
normal! gg0
|
||||||
let g:EasyMotion_smartcase = 1
|
let g:EasyMotion_smartcase = 1
|
||||||
let g:EasyMotion_use_smartsign_us = 1
|
let g:EasyMotion_use_smartsign_us = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user