4 ms·
Ctrl-C is SIGINT, I don’t want to change its definition of sigint just to make room for copy behavior. What I want is to make a different shortcut trigger copy
by ninkendo 2y ago
Ctrl-C is SIGINT, I don’t want to change its definition of sigint just to make room for copy behavior.
What I want is to make a different shortcut trigger copy/paste, everywhere, and that’s not fixable. Every app independently decides to make ctrl-c implement copy, so changing that is basically not possible.
- eviks 2y agoYou don't need to change the definition of sigint, just its shortcut! Though it's also possible to fix it everywhere - use a keyboard rebinding tool to make Ctrl-Shift-C send Ctrl-C key combo instead
- ninkendo 2y ago> You don't need to change the definition of sigint, just its shortcut! That’s what I mean? Changing sigint’s shortcut isn’t what I want to do. > Ctrl-Shift-C send Ctrl-C key combo instead Then ctrl-shift-C will send SIGINT too, and I’m back to where I started (SIGINT and copy having the same shortcut)
- eviks 2y ago> That’s what I mean? I'm sorry, I thought there might've been some confusion re. actual sigint definition based on some deeper history and ASCII codes (which didn't seem like it from cursory search) > ctrl-shift-C will send SIGINT You filter against your terminal app, where Ctrl+Shift+C will continue send Ctrl+Shift+C