I acquired a macOS machine for the first time, and I can't figure out how to use commands such as alt+E to open the current command in $EDITOR
.
I don't want to remap the ⌘ key to alt system-wide, but I can't figure out how to the remap in either Kitty or Fish.
Why is the fish binding not working in mac os? is a relevant question but the answer there only applies to iTerm2.
Kitty allows treating ⌥ as alt with macos_option_as_alt. So I've put
macos_option_as_alt yes
into kitty.conf
and started using ⌥ as my alt replacement on macOS.
It seems that it's discouraged on macOS to reuse ⌘ as a modifier.