next-word, and want to use
M-O to shift-select next word.
M-O works well on Emacs GUI app on Mac, but not on Emacs in a terminal.
The reason is: In the terminal,
up-arrow is encoded as
M-O A (similar for other arrow keys), so
M-O becomes a prefix key.
A solution is to use timeout, which was implemented by ergoemacs. However, I don't use ergoemacs keymap, so I don't wanna install it yet. Is there any other (smaller) package/function implemented the timeout solution?