I found this online:
bindkey "\261" select 1 bindkey "\262" select 2 bindkey "\263" select 3 ....
Basically it maps alt+1 to "select 1"; alt+2 to "select 2". So when you press alt+1, it is supposed to jump to screen window 1.
This works in
xterm but not but in
gnome-terminal. I know
gnome-terminal already uses alt+N to switch to tab n. So I turned off this key mapping for gnome terminal in
gnome configure editor. But it still doesn't work.
Seems that when I press alt+1, it is received by
bash, not by the GNU screen program, so it puts a special character on the bash or puts
Any solutions? Thanks a lot!