easymotion / vim-easymotion

Vim motions on speed!
http://www.vim.org/scripts/script.php?script_id=3526
7.5k stars 362 forks source link

easymotion-overwin-w messes up change list #397

Open ri-aje opened 5 years ago

ri-aje commented 5 years ago

every time I use easy motion jump on words, i.e., easymotion-overwin-w, I see additional items appear on top of my change list, which then interferes with `. jumping back to last change. this happens even if I just invoke the interface without actually making any jumps. per my test, it's only a problem with word jump, other easy motion jumps I use work just fine. closest issue I found in history is https://github.com/easymotion/vim-easymotion/issues/114. can you repro and fix it? thanks.

ri-aje commented 5 years ago

my debugging showed this setline call messed up the change list, which makes sense, since that's essentially editing the text. any chance to fix it? other jumps (e.g., easymotion-overwin-f2 and easymotion-sn) work just fine with highlighting and user prompts, so that seems doable.

ri-aje commented 5 years ago

hi @haya14busa, can you take a look at this issue? it's pretty annoying as it messed up the change list and my git blame showed you added that line. thanks.