Run, Developer, Run!

Remap Ctrl+C in Kitty terminal

Kitty terminal is awesome, and you should definitely try it.

Only thing I found tricky is how to bind termination of the running process (sending SIGINT on Ctrl+C) to a different key combination.

I like when all applications have consistent hotkeys. And different meaning of the most commonly used hotkey (copy) in all terminals always bothers me. I don't care about "history" and "traditions", switching your brain depending on currently open window is just inconvinient. So I use ctrl+c to copy and ctrl+shift+c for process interruption.

To fix that, add to kitty.conf :

map ctrl+c  copy_to_clipboard
map ctrl+v  paste_from_clipboard
map ctrl+shift+c send_text all \x03 # SIGINT

Note that there is also copy or interrupt but for me it is even more inconsistent.

Take look at my config for more useful options.

PS: And by the way, if you want to get nice color scheme for Kitty, you could use Terminal Color Scheme Designer , export to Termite and replace = with .


Contact

Search

 

Follow

Me on Twitter, Mastodon and Github

We have RSS!

© 20xx

Hosted on Cloudflare Pages, which is awesome!