Remix.run Logo
enricozb a day ago

Since I do not really use Ctrl-X on the terminal to cut text, I have changed my terminal configs to have Ctrl-X be sigint, and Ctrl-C to be copy. Makes for a nicer experience, also X looks more like a "kill" :)

dotancohen 39 minutes ago | parent | next [-]

I used to do similar bindings, but one mistype of muscle memory on somebody else's box, or in an SSH session, will teach you not to do that.

Do you want to be productive on your own snowflake system, or employable?

physicles 15 hours ago | parent | prev | next [-]

Wow, in 7 years of daily Linux use, I somehow never thought of doing this. Thank you.

~/.bashrc:

stty intr ^x

~/.inputrc (at the end):

"\C-v": "" # Unbind Ctrl-V

~/.config/terminator/config (in case anyone happens to be using terminator):

[keybindings]

  copy = <Control>C

  paste = <Control>V
adastra22 a day ago | parent | prev | next [-]

That makes way more sense.

mixmastamyk a day ago | parent | prev [-]

Nice, but eons of muscle memory to retrain. :-/