2009/4/7 Ron Aaron:
>
> In my effort to suppress loading of "macmap.vim", I have come across
> what seems to be a bug.
>
> The output of "scriptnames" on my Mac gvim is:
>
>  1: /Users/ronaaron/src/vim7/runtime/macmap.vim
>  2: /Users/ronaaron/src/vim7/runtime/autoload/paste.vim
>  3: /Users/ronaaron/.vimrc
>  4: /Users/ronaaron/src/vim7/runtime/syntax/syntax.vim
>  5: /Users/ronaaron/src/vim7/runtime/syntax/synload.vim
>
> Note that ".vimrc" is only sourced after two files from 'runtime' !
> This is in fact documented behavior, but I contend it is wrong.  Why
> should the Mac be unique in forcing some special script to be loaded
> before the users initialization script?
>
> I suggest that:
> 1.  'macmap.vim' be loaded AFTER the user's vimrc
> 2. 'macmap.vim' check a variable "g:macmap_loaded", like other well
> behaved scripts, so the user can suppress it from loading.

Hi Ron,

I never understood the point of macmap.vim myself -- in fact, it
doesn't even get sourced in MacVim.app (the code which loads it is
#ifdef'ed out).  I don't think anybody is particularly interested in
patching Carbon Vim though so if you want this fixed I think you'll
have to edit the source (in main.c) yourself (or delete/empty the
macmap.vim file from the runtime folder).

Björn

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

Raspunde prin e-mail lui