News for hackers. Stuff that matters.
Re:Major Linux Problems on the Desktop, 2016 Edition by audeyisaacs on Wednesday December 30, 2015 @12:21PM (#10813072)
Highlight to copy, middle-click to paste. Works every time for me.

Obviously, if you want to paste into vim you have to be in insert mode.

Re:Major Linux Problems on the Desktop, 2016 Edition by e12e on Wednesday December 30, 2015 @01:20PM (#10813394)
Technically vim exposes the x11 clipboards (plural) as registers - I never use registers, but I think

  "+p
[Ed: for those not familiar with vim: " can be thought of as 'with/from/into register named:', + is the register and p is paste. Similarily "+yw is 'yank/copy current word into register named +' ]

should be paste x11 selection. I don't normally use gvim/vim as an x11 application, but looks like * (star) is typically system clipboard:

http://vim.wikia.com/wiki/Accessing_the_system_clipboard

Re:Major Linux Problems on the Desktop, 2016 Edition by sandGorgon on Wednesday December 30, 2015 @01:25PM (#10813413)
why does it work on osx then ? is there something special happening at the OS level there ?
Re:Major Linux Problems on the Desktop, 2016 Edition by e12e on Wednesday December 30, 2015 @01:29PM (#10813443)
Afaik ctrl-v works in gvim? (I think its just bound to "+p or similar).
Re:Major Linux Problems on the Desktop, 2016 Edition by bla2 on Wednesday December 30, 2015 @07:42PM (#10815426)
Only with :behave ms (default on windows), else ctrl-v starts block visual mode.
Re:Major Linux Problems on the Desktop, 2016 Edition by ris on Thursday December 31, 2015 @07:28AM (#10817331)
Yes, except when you have to select something in between the time you copy & paste, e.g. change focus to the URL bar of a browser. Then ctrl-C is your friend, and works everywhere except the terminal.

But the terminal is a special case when it comes to copy/paste and always will be a little weird on any platform. Especially when it comes to line-wrapping in full-terminal applications like vi.

Re:Major Linux Problems on the Desktop, 2016 Edition by icebraining on Wednesday December 30, 2015 @12:30PM (#10813127)
Pretty much, never had a problem with it.
Re:Major Linux Problems on the Desktop, 2016 Edition by sandGorgon on Wednesday December 30, 2015 @01:20PM (#10813393)
my laptop does not have middle button. so I have to do a weird left-right button click. Very inconvenient for me.

I truly envy the OSX people just on this one aspect.

Re:Major Linux Problems on the Desktop, 2016 Edition by vodik on Thursday December 31, 2015 @03:40AM (#10816836)
shift-insert works in X if you can't middle click. In gvim too, out-of-the-box if you're in insert mode.
Re:Major Linux Problems on the Desktop, 2016 Edition by sandGorgon on Thursday December 31, 2015 @08:49AM (#10817532)
I was HOPING for that. Its part of IBM CUA. Unfortunately it doesn't work everywhere.. Especially the terminal (unless you remap keybindings)