Comment on I don't like the Linux clipboard situation

<- View Parent
notabot@lemm.ee ⁨4⁩ ⁨days⁩ ago

if you’re going to teach all your tools how to use multiple shortcuts and interact with a complex clipboard situation

The people writing the tools don’t have to do this, it ‘just works’ as it’s functionality the UI framework provides. It used to be that whether you used Tk, GTK, Qt or any of the others, you still ended up with X11 components on screen, and those components handled the UI interactions like middle click paste from selection or ‘ctrl-v’ paste form clipboard, but then we got a few UIs that tried to draw themselves (Java apps were terrible for this). I don’t know what it’s like on wayland, I suppose it could be different per compositor. I’ll get around to testing it at some point, but I’m in no hurry to leave X11 behind.

just having them able to look back an arbitrary distance in the history of a single clipboard, like M-y in emacs.

You’ll get no argument fro me, that would be a more intuitive approach, although rather than just a stack like that, I’d probably prefer to have a set of registers to yank to and paste from too like vi. That way I can put the information I want to keep using at a specific location, and just use the rolling stack for the more ephemeral stuff.

source
Sort:hotnewtop