On 15/03/09 21:49, Hal wrote: > > I have the following mappings in .vimrc (on OS X running macvim). > > map<f6> <C-b> > map<f7> <C-f> > map<f8> <C-f> > map<S-f7> o<li class="loc"> <a href=" "+pa"></a></li> 2F<i > map<S-f8> :tabe<bar>Recent<cr> > > All work as expected except for<f7> which gets mapped to the same > thing as<S-f7>. The<f8> mapping was put in to see if the problem > was specific to mapping<c-f>, but it isn't since<f8> works as<f7> > should work. > > I've checked for subsequent mappings of<f7> in .vimrx and in .gvimrc, > and there are no other scripts sourced in either of those files. > > Any ideas as to what is going on? > > Thanks. Hal
- Are you in GUI or console mode? Do you get the same error in both? - What do you see if you type Ctrl-K followed by either F7 or Shift-F7 ? If the results are the same, then Vim doesn't see the difference and the problem is somewhere upstream, possibly with the keyboard driver, or (in Console mode only) with the terminal or the Terminal application. - Do you get the same error if you start Vim with -N -u NONE on the command-line (to temporarily disable your vimrc if any, your gvimrc if any, as well as all plugins) then try the above mappings by hand? - If the results for Ctrl-K F7 and Ctrl-K Shift-F7 are different, then Vim can see the difference, so there must be something else at work, within Vim. Do you see anything that looks suspicious in the output of either ":verbose map" or ":scriptnames" (without the quotes in both cases of course)? Best regards, Tony. -- You're being followed. Cut out the hanky-panky for a few days. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
