ringa_lee2017-04-17 15:54:34
Putty doesn’t support accessing the clipboard of a remote server, right? Are you using Windows? If it's Windows, there's nothing I can do about it. If it is Linux, use ssh -Y to turn on X11 forwarding.
黄舟2017-04-17 15:54:34
The first option:
Use xshell, select directly with the mouse
The second option:
Visual mode
:'<'> w a.txt
:sh
sz a.txt
exit
The file is available locally
伊谢尔伦2017-04-17 15:54:34
Add the following code to the .vimrc
file.vimrc
文件
vnoremap <Leader>y "+y
之后使用 <Leader>y
rrreee
<Leader>y
to copy the selected content to the cut version. 🎜