this post was submitted on 10 Sep 2023
631 points (96.7% liked)

Programmer Humor

19522 readers
354 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@sh.itjust.works 23 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

[–] lappy@lemmy.sdf.org 12 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@sh.itjust.works 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.

[–] 4am@lemm.ee 5 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 🙄