On Linux, Control-C and Control-V don't work for copying and pasting in terminals. The Control modifier is used for its original purpose of inserting control codes. Instead, terminal apps require an extra Shift modifier, like Control+Shift+C.
But what if there were hidden shortcut combos for copy and paste
Control+C is used to kill a process in the terminal and that shouldn’t be overwritten. If it is, you’d have to create a totally separate key binding to kill a process. Seems unnecessarily complex when Control+Shift+C works just fine.
Kitty has a setting that makes Ctrl-C copy text, but only if you’ve selected something. If you haven’t it does a regular break. Best of both worlds!
The article doesn’t suggest using Control+C. It talks about dedicated copy and paste key codes, and you can program your keyboard to map those codes to whatever keys you like. They suggest Fn+C.
standards.xkcd
We could use Ctrl+Insert and Shift+Insert like in the last three decades, but some of these keyboards apparently forgot about the Insert key.
Agreed. The post didn’t suggest that.
For people already using programmable keyboards global copy/paste shortcuts are a nice perk.
I spend nearly all my day in a browser or a terminal and as I use a terminal and browser that already support this, the effect is 99% complete.
I feel like you may have misunderstood the article. It’s talking about how support is increasing for dedicated Copy keys, and that programmable keyboards make it easy to use dedicated Copy keys. The article does not mention changing the behaviour of Ctrl-C.
What else does this say?
And I’m pretty sure this key combination predates copy and paste key combinations.
Come on, having a 3-key combo for such a common task is a PITA. There’s a reason people have been complaining about this for decades.
The first time you accidentally type Control-C into a terminal and cancel an important process when you meant to copy some text it becomes a PITA.
Exactly. I do it pretty regularly and I’ve been using Linux for 20 years.
And yet people here are still saying “no biggie”. It’s pure status quo bias.