search

Home  >  Q&A  >  body text

There have been a lot of problems related to vim recently... Let me join in the fun... About the clipboard...

Actually, strictly speaking, this is not a question... It's probably just a discussion thread... If it's inappropriate, just delete it...

It is well known that using the system clipboard in vim uses "+y "+p...but it is really difficult to press...

I want to hear how everyone handles the interaction between vim and the contents of the system clipboard...and why...?

P.S. My own way is set clipboard=unnamedplus ...

PHPzPHPz2773 days ago673

reply all(2)I'll reply

  • 迷茫

    迷茫2017-05-16 16:44:22

    https://github.com/hit9/dotfiles/blob...

    "注意:以下的ctrl-c,ctrl-v快捷键需要你安装了gvim
    "ctrl-c复制到系统剪切板
    map <C-c> "+y
    "ctrl-v粘贴到系统粘贴板
    map <C-v> "+p

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 16:44:22

    Download gvim

    map ,y "+y
    map ,p "+p

    Under SecureCRT, you can only use the mouse to select and copy, and CTRL+SHIFT+V to paste.

    reply
    0
  • Cancelreply