Description
Problem
When I want to write in insert mode characters from the line above i_ctrl-y
or below i_ctrl-e
the cursor, and there is virtual text, it takes into account the position of the virtual text and copies the first real character until the virtual text is advanced.
For instance:
When I press ctrl-y
in insert mode, for each position of the virtual text value:
it writes the first real character after it h
. Then it continues writing the text in the line above the cursor:
It has the same behavior with ctrl-e
in insert mode, but with the line below.
Steps to reproduce
Write a line of text that has virtual text.
Try to write in in another line by using i_ctrl-y
or i_ctrl-e
.
Expected behavior
It should copy the real text, ignoring the virtual text position.
Nvim version (nvim -v)
0.11
Vim (not Nvim) behaves the same?
Not tested
Operating system/version
Windows 10.0.19045.0
Terminal name/version
Windows Terminal (it happens to me with any terminal
$TERM environment variable
Not setted
Installation
github releases