ipython-vimception icon indicating copy to clipboard operation
ipython-vimception copied to clipboard

yanking and pasting to and from system clipboard

Open florian-wagner opened this issue 10 years ago • 4 comments

Is it possible to automatically copy the content of a visual selection to the system clipboard using y? (and paste automatically using p). In other words, can I set the set clipboard=unnamedplus option somewhere in vimception? This would be very useful when copying code from online tutorials or between notebooks.

florian-wagner avatar Sep 11 '14 09:09 florian-wagner

Are you able to copy to the system clipboard at all? In Chrome under Windows 7, even right clicking to copy doesn't work because right click deselects the text. I have to reload the page to disable vimception to copy anything at all. In Firefox, I can copy by right clicking, but Ctrl-C doesn't work.

wilywampa avatar Sep 21 '14 22:09 wilywampa

yeah, desperate to have this copy and paste function. The text should yank to system clipboard.

shelper avatar Sep 30 '14 20:09 shelper

I have had the same issue with copy/paste and I, too, would love for this (or some other fix) to be implemented.

Copy/paste works in Firefox and Chrome on Windows 7 when vimception is off.

I have observed that copy and paste fails in both Firefox and Chrome on Windows when vimception is enabled. (Neither Ctrl+C/V nor right clicking the mouse works).

It seems to work fine in Firefox and Chrome on my Ubuntu machine.

Alternatively, it might be nice to have the "+ buffer work like it does in Vim. However, this might be something to clamor for on the CodeMirror project since I think it is their code that handles all the buffers, etc.

jlarchibald avatar Jan 06 '15 20:01 jlarchibald

The same for me on OSX/Safari. Kind of a blocker since it makes copying/pasting text between Notebook and iPython console impossible.

evdoks avatar Jan 29 '15 10:01 evdoks