Actually my $TERM is always xterm and is neither changed in my .vimrc nor
.bashrc
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
Sent from the Vim - General mailing list archive at Nabble.com.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php