I using vim + gnome-terminal. I configured some maps and are woking better on xterm-256color The problem are in F1 to F12 keys.
When I use xterm-256color on gnome-terminal with vim open, this keys returns:
<F1><F2><F3><F4><F5><F6><F7><F8><F9><F10><F11><F12> 1;2S<S-F5><S-F6><S-F7><S-F8><S-F9><S-F10><S-F11><S-F12>
1;2R 1;2Q 1;2P
The problem here, is because Shitft-F1 are returning 1;2P, Shitft-F2 are returning 1;2Q ....
With gnome-256color only the <F1><F2><F3><F4><F5><F6><F7><F8><F9><F10><F11><F12>
and <S-F1>, <S-F2>, <S-F3> and <S-F4> are returning 1;2S 1;2R
1;2Q
1;2P like xterm-256term
I Teste xterm-256term on XTerm(266) and are returning another crazy problem.