junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.13k stars 39 forks source link

vsplit same buffer: unpredictable paste in insert mode #43

Closed vbauerster closed 8 years ago

vbauerster commented 8 years ago

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

junegunn commented 8 years ago

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

junegunn commented 8 years ago

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

vbauerster commented 8 years ago

Indeed fixed! Thank you for your invaluable work!