macOS tips - mawww/kakoune GitHub Wiki
alt key
By default, the Alt-key doesn’t work in macOS Terminal. Today I found a simple solution for this problem: Terminal > Preferences > Settings > Keyboard Just check ‘Use option as meta key’ at the bottom and you’re good to go
For iTerm2, you can set the option key as meta by going to iTerm > Preferences > Profile > (Active Profile) > Keys and you can see at the bottom of the pane there are radio choices for the options keys. Use +Esc
to properly bind as the Alt-key.
For kitty, see https://sw.kovidgoyal.net/kitty/conf.html#opt-kitty.macos_option_as_alt.
For ghostty, add macos-option-as-alt=true to your config. see https://ghostty.org/docs/config/reference#macos-option-as-alt