Don't move cursor at all
parent
d036502cd2
commit
594ef58784
|
@ -90,6 +90,7 @@ endfunction
|
||||||
function! s:CountLastSeen()
|
function! s:CountLastSeen()
|
||||||
if len(@/) > 0
|
if len(@/) > 0
|
||||||
let pos = getpos('.')
|
let pos = getpos('.')
|
||||||
|
let pos[2] = pos[2] - 1
|
||||||
exe ' %s/' . s:last_seen . '//gne'
|
exe ' %s/' . s:last_seen . '//gne'
|
||||||
call setpos('.', pos)
|
call setpos('.', pos)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue