how to copy codes in vi to clipboard

后端 未结 4 1055
终归单人心
终归单人心 2020-12-01 11:25

I know how to copy in VI. but I failed to copy it into other application. That means I failed copy those into clipboard. How can I do this?

P.S. In order to lean mor

4条回答
  •  天涯浪人
    2020-12-01 11:35

    "+yy or "*yy to copy to clipboard
    "+p or "*p to paste from clipboard
    

    The " will put it into the + register.

    For even more than you wanted to know: http://vim.wikia.com/wiki/Accessing_the_system_clipboard

提交回复
热议问题