Many terminal offer remapping of interrupt signal, mapped by default to ctrl+c.
Is this possible in Kitty? I could not find it in docs nor source at a glance.
Since many terminal don't have smart copty or interrupt behavior #1286, some users, myself included, have gotten used to mapping interrupt on ctrl+shift+c.
kitty 0.14.6 created by Kovid Goyal
Use send_text to send \x03 on ctrl+c in kitty.conf
@kovidgoyal Thanks for a prompt reply!
The closest (inpsired here) I could get was using
map ctrl+shift+c send_text all \x03\\
Which somewhat works fine, but triggered on empty prompt without a running program to interrupt, it inserts \ (it doesnt work without the additional slash at the end). Perhaps I am using all incorrectly or I should input the symbol differently?
Works fine for me with kitty -o 'map ctrl+shift+c send_text all \x03'
I must have been doing something wrong, thanks for update. For future readers, remapping copy and interrupt:
map ctrl+shift+c send_text all \x03
map ctrl+c copy_to_clipboard
In kitty.conf
Most helpful comment
I must have been doing something wrong, thanks for update. For future readers, remapping copy and interrupt:
In
kitty.conf