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
I’ve been using ctrl+c for copy and ctrl+v for paste for over a decade in my linux terminal by remapping the interrupt to ctrl+x.
It’s basic ergonomics and user friendliness.
I do it on all my personal devices and servers.
Nothing bad happened in those ~15 years that I’ve been doing that. What the fuck are you arguing about?
I might actually do that too, but not for ergonomics. I’m just going nuts with sometimes ctrl-c,. sometimes ctrl-shift-c, sometimes ctrl-ins
Mapping copy and paste to different modifer helped for me. Alt or Mod1 + c or v is easy to reach.
If you need any help, ping me and I’ll share my setup.
The reason you gave still falls under the concept of ergonomics.
From wikipedia:
It would be a more ergonomic (and less error prone) system if you modify the shortcuts so that you don’t fumble them.
What terminal app do you use, and what do you use to do the remapping?
My current setup:
~/.bashrc
stty intr \^x bind -f ~/.inputrc
~/.inputrc
set bind-tty-special-chars off set colored-stats on set show-all-if-ambiguous on set show-all-if-unmodified on set completion-ignore-case on set completion-query-items -1 set page-completions off "\e[1;5C": forward-word "\e[1;5D": backward-word "\C-h": nop "\C-s":"\C-asudo "
And in Konsole I have remapped copy to ctrl+C and paste to ctrl+V .
I honestly don’t remember what each config line is for, cause it has been so long ago. And probably you don’t want all of that. Probably best to throw it into an AI and let it explain it line by line.