ivanov / ipython-vimception

Vim-within-Vim in the IPython Notebook.
165 stars 17 forks source link

yanking and pasting to and from system clipboard #13

Open florian-wagner opened 10 years ago

florian-wagner commented 10 years ago

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.

wilywampa commented 10 years ago

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.

shelper commented 10 years ago

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

jlarchibald commented 9 years ago

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.

evdoks commented 9 years ago

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