Since I use both bash and zsh, I'd like to learn the zle's emacs keymap (since this is the default in bash). My problem is that macOS's option key does not work with the meta shortcuts (like M-. for yanking the last argument from the last command). Is there a way to set the option key to meta?
1 Answer
I've found that the Meta character is changed to Esc and since I use the Caps Lock as my Ctrl+Esc keys, I've mapped the real Ctrl key to the Esc. It's one key away, but that's ok.