1
Fork 0

Don't move cursor at all

master
Joshua Potter 2016-11-08 13:40:51 -08:00
parent d036502cd2
commit 594ef58784
1 changed files with 1 additions and 0 deletions

View File

@ -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