Jürgen Krämer a écrit : > Hi, > > ludo wrote: > [...] > you probably have a buffer-local mapping like > > :map <buffer> <S-F4> u > > defined somewhere. You can check this with > > :map <S-F4> > > This should show something like > > <S-F4> @u > <S-F4> :cprev <CR> > unfortunately, when I execute :map <S-F4> Vim displays 'No mapping found'
> The mapping with the ampersand is the buffer-local one and this takes > precedence over the second one. > > If you want to know where the first mapping was defined execute > > :verbose map <S-F4> > > and you get something like > > <S-F4> @u > Last set from c:\map_u.vim > <S-F4> :cprev<CR> > and ':verbose map <S-F4>' also displays 'No mapping found' Maybe, the problem is around the SHIFT key When I try to use Fx key (F2, ... F12) with the additionnal SHIFT key for the :map function, it's failed :map <F4> :do_something :map <F...> :do_something :map <F12> :do_something all succeeded but when I try :map <S-F4> :do_something :map <S-F...> :do_something :map <S-F12> :do_something all failed :-( --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---