linux - Vim中无法复制内容到系统粘贴板
高洛峰
高洛峰 2017-04-17 15:52:34
0
6
417
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all (6)
左手右手慢动作

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.

    Ty80

    Can’t you just use the mouse to select and copy?

      左手右手慢动作

      Just use xshell. This software is free for individuals.

        Peter_Zhu

        Select directly with the mouse, then right-click to copy

          黄舟

          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

            伊谢尔伦

            Add the following code to the.vimrcfile.vimrc文件

            vnoremap y "+y

            之后使用yrrreee

            Then use yto copy the selected content to the cut version.
              Latest Downloads
              More>
              Web Effects
              Website Source Code
              Website Materials
              Front End Template
              About us Disclaimer Sitemap
              php.cn:Public welfare online PHP training,Help PHP learners grow quickly!