- To get
ctrl-ito do different things. I added the following configuration to my
bashconfiguration files, and everything worked fine
XTerm.vt100.translations: #override \n\ Ctrl <Key>I: string("\033[a5i")
bind -m vi-insert -x '"\e[a5i": echo aa'
But when I ran
bashin tmux, the above configuration didn't work properly, and when I hit
ctrl-i, instead of executing the
echocommand, screen printed out
I tried to perform this binding in
tmux, but the results were not satisfactory
^[[1;2A5iis the key sequence of
ctrl-iI got using the
bind-key -n ^[[1;2A5i 'send-keys \033[a5i'