News for hackers. Stuff that matters.
Re:The weight of the clipboard by JKCalhoun on Wednesday January 05, 2022 @10:34AM (#29810217)
A bit orthogonal, but here's my suggestion:

In addition to: cut | copy | paste

Add: swap

It swaps the current selection with the contents of the clipboard (replacing the clipboard with the selection, replacing the section with the prior contents of the clipboard — a swap).

It's a nerdy ask, if anything adds more complexity to the clipboard concept. But I have found myself having a need for this shortcut often.

Maybe others have as well.

Re:The weight of the clipboard by Tyr42 on Wednesday January 05, 2022 @11:06AM (#29810692)
In vim that's what happens if you select some text, then paste. Honestly I sometimes want to turn this off, as I want to paste the same thing multiple times, and I resort to putting the fragment to paste into a named register.
Re:The weight of the clipboard by TheSalarian on Wednesday January 05, 2022 @11:16AM (#29810849)
For what it's worth, I know I'd certainly use it.