Search This Blog

gVim on Windows 10: enabled copy and paste with Ctrl-C and Ctrl-V

  • Add the following lines to _vimrc
    • " make Ctrl-C Ctrl-V work
      source $VIMRUNTIME/mswin.vim
      
      " update Edit -> Paste menu item
      unmenu! Edit.Paste
      aunmenu Edit.Paste
      nnoremenu 20.360 &Edit.&Paste<Tab>Ctrl-V        "+gP
      cnoremenu    &Edit.&Paste<Tab>Ctrl-V        <C-R>



see also

No comments:

Post a Comment