I am having a peculiar problem with copying and pasting from a terminal in vim. Sporadically, copy-paste will refuse to work. Control-Shift-C and Control-Shift-V cause nothing. Often, after copying, paste menus will be disabled.

This is enough of an irritation that I would like to know if others are having the same difficulty. Thanks for any help.

migrated from stackoverflow.com Mar 14 '11 at 0:31

This question came from our site for professional and enthusiast programmers.


I do not use control+Shift+C but I just select the text with mouse and then use middle (or double side) click.

Would that suit you?

  • This does not work for me. It is an intermittent problem and probably represents the dentition of an actual bug! – ncmathsadist Mar 15 '11 at 0:49
  • I prefer this way too. @ncmathsadist: it doesn't work, you should try to reinstall vim. – nXqd May 18 '11 at 9:43

I use vim's registers to paste text, even from other GUI applications:

  • Select text in an application, paste it in vim via "*p

  • Select text in vim via"*y, paste it to another application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.