I'm trying to bind Control-Tab to a shell function in Bash.
I've tried the following things in my .bashrc:
bind -m vi-insert -x '"\C-\t": some_user_function'
bind -m vi-insert -x '"\C-TAB": some_user_function'
bind -m vi-insert -x '"\C-\TAB": some_user_function'
But neither work. I couldn't find anything in help bind
and man bash
either.
However bind -m vi-insert -x '"\C-x": some_user_function'
work so it is clearly a problem with telling bind
to recognize the tab key somehow.