i have a really strange problem:
When i use vim in the console, the f1-10 is somehow broke:
F1 inserts P
F2 inserts Q
F3 inserts R
F4 inserts S
F5-10 inverts the case
This is really annoying...
Somehow this bug does not occur with gvim
I even tried it with a clean vimrc but no difference...
Maybe the problem is my compiled version of VIM 7.3?
Any help is very appreciated
--
View this message in context: http://vim.1045645.n5.nabble.com/VIM-7-3-Problem-with-F1-F10-in-terminal-ubuntu-10-10-tp3797125p3797125.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
However: This fixed it for me(put it in to my vimrc):
if !has("gui_running") && $TERM is "xterm"
for [key, code] in [["", "\eOP"],
\["", "\eOQ"],
\["", "\eOR"],
\["", "\eOS"],
\["", "\e[15~"],
\["", "\e[17~"],
\["", "\e[18~"],
\["", "\e[19~"],
\["", "\e[20~"],
\["", "\e[21~"],
\]
execute "set" key."=".code
endfor
endif
--
View this message in context: http://vim.1045645.n5.nabble.com/VIM-7-3-Problem-with-F1-F10-in-terminal-ubuntu-10-10-tp3797125p3862482.html