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.
Asked
Active
Viewed 139 times
0
-
1Does this answer your question? [Problems with keybindings when using terminal](https://emacs.stackexchange.com/questions/1020/problems-with-keybindings-when-using-terminal) – Gilles 'SO- stop being evil' Jun 21 '21 at 20:02
1 Answers
1
- In iTerm2 profiles, pick the profile you're using, then go to the Keys settings.
- Click
+
to add a key command. Click and pressCtrl+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>
.

amitp
- 2,451
- 12
- 23