I use Option+Left (and Right) to quickly jump to start/end of words. When I do this in kitty, It prints a capital D.
I've looked through the documentation and I honestly don't know how to go about remapping or changing this behaviour.
Thanks!
Use the option_as_alt setting in kitty.conf.
I have tried the macos_option_as_alt setting _disabled (commented out), no, left, right and both_, unfortunately I still get the same result. I have also tried it in the bash shell.
I do use Karabiner-Elements and Oh-My-Zsh, although i'm not sure if that's relevant.
Leave macos_option_as_alt at the default value of no and try adding
map alt+left send_text all \x1b\x62
map alt+right send_text all \x1b\x66
to your config.
@Luflosi that worked! Thanks! Now i'm curious why.
It tells kitty to send special escape codes when you press alt+left or alt+ right .
Alright. I'll look up escape codes. Thanks again!
Also see #838 and the comment https://github.com/kovidgoyal/kitty/pull/1323#issuecomment-456762751 and the comment after that.
Most helpful comment
Leave
macos_option_as_altat the default value ofnoand try addingto your config.