vim can not paste contents from Windows clipborad
Describe the issue
copy contents from ctrl+c in windows , and can not paste in vim file in MSYS2
Steps to Reproduce the Problem
vim 1.txt
If applicable, add screenshots to help explain your problem.
- OS: [e.g. Windows 10 Pro version 190042 64bit]
- VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 22 2021 19:31:05)
Works here. Use the clipboard register "+ and p (put after cursor) or P (put before cursor). So "+p will copy the clipboard contents after the cursor. You can do the reverse with y (yank): "+y will copy the current selection into the clipboard register.
If you are trying instead to paste via the terminal using the mouse (ie, right-click or however your terminal is configured for paste), you may need to :set mouse= to turn off vim's handling of the mouse so the terminal defaults get used instead.
If you are trying instead to paste via the terminal using the mouse (ie, right-click or however your terminal is configured for paste), you may need to
:set mouse=to turn off vim's handling of the mouse so the terminal defaults get used instead.
Yes, what you said is right. I want mouse right-click-memu has paste,copy,select functions in vim,like in MSYS2 terminal