2009/8/28 David Lam:
> hmm dunno if its just me, but using MacVim 1-234,  if i have
>
> nmap <M-f> el
>
> in my init file, it unexpectedly seems to do something like C-f instead...
> i.e. it scrolls forward in the file some number of lines
>
> however if i hit : and map the key again while within Vim, i get the
> expected behavior
>
> anyhoo,  i've been using this for awhile on the regular Vim (i.e. not on
> mac)... anyone have any ideas?

Hi David,

1. In order for Meta mappings <M-..> to work on the Mac you need to
set the 'macmeta' option since Mac OS X translates Meta-key
combinations (on my machine, <M-f> turns into ƒ).  However, you say
that it does work if you don't remap in vimrc so I'm a bit confused.

Failing that:

2. Have you tried commenting out all other lines in your [g]vimrc and
then uncommenting one at a time and restarting to see if there is some
combination of settings that causes this?

3. Have you tried updating to the latest snapshot?  (I'm not sure what
version 1-234 means, the version info is in the About box under the
MacVim menu.)

Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to