junegunn/vim-peekaboo

vsplit same buffer: unpredictable paste in insert mode

vbauerster opened this issue · 3 comments

I often edit the same buffer in vertical split. When I try to paste in insert mode CTRL+R, while in the right pane, the cursor jumps to left pane, and pasted word appears in random area.

Here I try to delete word del to paste()
step 1
Here my cursor in between parens: paste(|), while in insert mode I press CTRL+R+-
step 2
The result:
step 3

Thanks for the report. I'll see what I can do.

Pushed the fix. Please update and see if it helps. Thanks.

Indeed fixed! Thank you for your invaluable work!