Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim iTerm ssh: cannot copy and paste ("Copy" is disabled with text selected)

I'm using iTerm2. If I'm using vim on local works fine and I can copy some text from my vim session with mouse.

Now I'm connecting to a debian 7, running vim with the same configuration. I select text but now I can't copy: in the contextual menu (right click), the Copy function is disabled. How can I copy?

My .vimrc: https://github.com/arnaudlamy/config/blob/master/.vim/.vimrc

like image 706
Idaho Avatar asked Oct 17 '25 08:10

Idaho


1 Answers

Press the ⌥ option key (also known as the Alt key), and then select text.

like image 193
Martin Nuc Avatar answered Oct 20 '25 07:10

Martin Nuc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!