Centre click is a godsend though. I recently had to start using Windows again and I keep instinctively hitting it.
I found this handy snippet to enable these keys in GTK 2 and 3 (not sure of the equivalent for GTK 4 but I guess that’s the one which has been updated anyway): https://forum.colemak.com/topic/1438-dreymars-big-bag-of-keyboard-tricks-linuxxkb-files-included/#p10012
Unfortunately I’ve found this whilst I’m not at the right computer so I haven’t been able to test them.
Edit: I tested this and it doesn’t appear to have helped.
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.
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
I think at this point XKCD should be a TLD.
I would join lemmy.xkcd in a heartbeat.
Holy shit can you guys read the article please? It’s an existing standard and a dedicated keycode
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!
Another KiTTY user! Can you share that setting?
Had to look it up for you. I use (in kitty.conf):
map ctrl+c copy_and_clear_or_interrupt map ctrl+v paste_from_clipboard
Obviously you only need the first one for the copy bit but having paste as well is nice.
Honestly, this is a nice feature of macOS (or at least iTerm 2; I don’t use the official terminal). I know CTRL-C is used to kill processes and we all have that muscle memory but I usually try to change that on my personal Linux installs because I’ve hit it by mistake before.
I used to use CTRL+INSERT for copy and SHIFT+INSERT for paste but there’s usually no insert key on laptops or even small keyboards. It’s probably time to just adapt.
⌘C and ⌘V work in the native MacOS terminal app as well.