iTerm does not send ctrl+tab itself, so I need to configure it myself. I can't figure it what key code ctrl+tab is though.


1 Answer 1

  1. In iTerm2 profiles, pick the profile you're using, then go to the Keys settings.
  2. Click + to add a key command. Click and press Ctrl+Tab. Then choose the command Send Escape Sequence. Use [27;5;9~ as the sequence.

Then test this in emacs -nw -q by using C-h k C-tab to see if it displays <C-tab>.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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