You are not logged in.
Has something changed with vim the last couple of weeks/months? I could use Ctrl-Shift-C to copy text before but this does not work anymore (paste works and I am at lost...?
Regards,
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
That looks like a terminal emulator hotkey. Why not just use the vim command "+y to copy text highlighted in visual mode? You can even bind that to something else in your .vimrc
Offline
Just old habit I guess. Easy to just mark the text I need to copy using the mouse and press Ctrl-Shift-C. But I am not sure why it sudddenly stopped working..
But I'll have a look at the +y method as well...
Last edited by bjorntj (2016-08-16 09:31:36)
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
Or look into your terminal emulator settings, because as already noted, this is definitely not a vim issue.
Is there anything different about the enviornment? E.g., did you start using tmux/screen?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Nope, I am using Terminator as I have done the last couple of years... And using Ctrl-Shift-C in Terminator works just fine.... :-|
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
Ah, so something in vim is simply interfering with that behavior of the terminal. That's possible. Any vim bindings that use those keys might do it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I do not have any custom bindings but I am using the poweline "plugin" for vim, maybe something has changed there...
Is there a way to remove any Ctrl-Shift-C bindings in my vimrc file?
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
Offline
No, don't think so.. The powerline plugin is working and that is the last thing in the /etc/vimrc file...
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
bjorntj, that does look related to me - other things can work, but if a visual mouse mode is on, then when you "select" text in vim with the mouse it is not actually being selected like other X11 programs (i.e., claiming the primary selection). So any X11-based copy would technically work, but it would just have nothing to copy.
To test this theory, select something with the mouse in vim, then from another terminal emulator window/tab run `xsel`. If what you selected in vim is printed out by xsel, then this theory is wrong. If it is not printed out by xsel, then it is very likely that Graysky is right.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hmmm... Maybe I was a bit to quick to read the other post.. (thought is was about settings not read...) Adding set mouse-=a to ~/.vimrc make my copy shortcut work again... Thx... ![]()
Last edited by bjorntj (2016-08-16 13:08:52)
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
My hotkeys felt wonky, too, until I found out that the Fn Lock (that I had got used to always being on) had been disabled in the latest kernel update.
Offline
Overarching question to me is whether or not this is a bug upstream.
Offline