Re:Using Microsoft's New CLI Text Editor on Ubuntu
by enricozb on Saturday June 21, 2025 @09:31AM
(#44337459)
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" :)
[ Parent
| on HN ]
Re:Using Microsoft's New CLI Text Editor on Ubuntu
by adastra22 on Saturday June 21, 2025 @12:21PM
(#44338726)
That makes way more sense.
Re:Using Microsoft's New CLI Text Editor on Ubuntu
by mixmastamyk on Saturday June 21, 2025 @02:54PM
(#44339841)
Nice, but eons of muscle memory to retrain. :-/
Re:Using Microsoft's New CLI Text Editor on Ubuntu
by physicles on Saturday June 21, 2025 @11:38PM
(#44343313)
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
Re:Using Microsoft's New CLI Text Editor on Ubuntu
by dotancohen on Sunday June 22, 2025 @02:09PM
(#44348979)
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?