I started to use Linux Mint. On the Terminal, I can use emacs -nw and emacs. I can't get the same key behavior about the following two configs. In particular, these settings work in emacs, but not in emacs -nw. How do I fix this issue?

(global-set-key (kbd "<C-tab>") 'other-window)

(define-key ess-mode-map (kbd "C-%") "%>%")

  • What kind of Terminal do you use? Is it configurable?
    – choroba
    Commented Dec 21, 2021 at 13:34

1 Answer 1


Terminals can't send <C-tab>.

The tab character in a terminal is TAB which is the same thing as C-i, and you obviously can't send C-C-i, so there's no such thing as C-TAB from a terminal's perspective.

That's not the only issue, though -- GUI environments have lots of key events that terminals don't send, so unless you're using a terminal emulator with special support for such modern things, there will be plenty of keys that you can't use.

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