3

I have bound "C-;" to 'other-window in my config like so.

(global-set-key (kbd "C-;") 'other-window)

When I run emacs outside of a terminal, this keybinding works as I would expect. Inside Iterm2 and OS X terminal, however, emacs does not appear to distinguish it from ";". I can use the keybinding itself, however, by activating god-mode. I'm wondering if this is some limitation/"feature" of terminal emulators in general.

1

1 Answer 1

2

I'm wondering if this is some limitation/"feature" of terminal emulators in general.

Correct.

Your terminal emulator does not send those sequences to Emacs because it is faithfully emulating something which was not capable of sending such sequences.

Emacs is accurately reflecting the sequence that it actually received.

Related:

Not the answer you're looking for? Browse other questions tagged or ask your own question.