When I copy some lines in the VIM by marking and then right clicking sometimes there are some insert operations that happen and the letter 'p' is added to the file.
How can I copy & paste without this issues?
Thank You
|
|
When using VIM there a many better approaches to copy text. VIM is ideally used without a mouse. To copy full lines, you can type Pasting can be done by typing |
|||
|
|
|
Use the
Then you can visually select with your mouse and hit CTRL-v to copy to your system clipboard. |
||||
|
|
|
Select the text you need then go to the place where you want paste and press right click button. Of course you need to press Insert before this. |
|||
|
|
|
First, look to map the mouse to this with
Debugging beyond that: see if your right-click is mapped in an awkward way. Look to guides for how to expressly map these as needed, or examples. Sadly, this may be in the compiled code (of the windows vim app) itself. Look to what remapping options you may have that are unique to Windows. Remember , as well, to watch for the same behavior on paste. You need to type What can often happen is when you right-click is pasting in the string, which then acts just like you were typing. So Vim doesn't enter |
||||
|