Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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" :)


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


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?


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


That makes way more sense.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: