views:

89

answers:

1

I want to bind company-mode-map to C-tab, but it seems doesn't work. And I typed C-h k C-tab, it just said that I typed TAB but not C-Tab. It works in Xwindows, is there any way to fix the problem in terminal mode?

+2  A: 

I found these directions, which are targeted at using GNU screen, but they work for me in regular terminal mode. After adding:

*vt100.translations: #override \n\
    Ctrl ~Shift <Key>Tab: string(0x1b) string("[27;5;9~") \n \
    Ctrl Shift <Key>Tab: string(0x1b) string("[27;6;9~") \n

to my .Xresources file, C-tab is recognized in my terminal, and the binding found by Emacs.

Trey Jackson
That's quite useful, many thanks
ZelluX