this post was submitted on 10 Sep 2023
634 points (96.8% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] spez 25 points 1 year ago (2 children)

Kitty has the feature that if you have text selected it will copy and if not then it will interrupt the command

[–] [email protected] 13 points 1 year ago (1 children)

Yeah I love this feature. I love it so much that I'll also tell everyone who cares to listen how you can use it. Edit your ~/.config/kitty/kitty.conf file to include map ctrl+c copy_and_clear_or_interrupt and you are good to go. Only issue I have that it doesn't seem to work in the vscode terminal.

[–] spez 1 points 1 year ago

Any keybinds I have set don't work in vscodium terminal for me too. I mainly use neovim for those things.

[–] [email protected] 6 points 1 year ago

Oh what a great way to further entrench a bad habbit! Hang on I need to remedy some refactored code with rm -rf * which Kitty made safe if I’m in a directory with my project files 🙄