[...] > Hm. What is 'term' set in each case. If it is set to different values > (let's assume "cygwin" and "xterm" for the sake of argument; but replace > them below if different), you should be able to cure the problem as follows: > > if &term == 'cygwin' > set <S-F4>=^[[14~ > elseif &term == 'xterm' > set <S-F4>=^[[[D > endif > > where ^[ is obtained by hitting Ctrl-V followed by Esc. > > Alternately, use gvim rather than Console Vim: there, your F keys ought > to be detected correctly. > > Best regards, > Tony. > effectively, ':map <S-F4> :do_something' works fine with gvim and I will try to customize later my .vimrc with the &term variable
thanks for your help --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
