Bug? Seems so to me. even two of them (but both related to the 'keymap' 
option).

The one is in menu.vim (Last change: 2008 Aug 22): at lines 365 and 377 
it uses ":set" rather than ":setlocal", which sets the keymap for _all_ 
future new buffers, not only the current one.

The other is somewhere in the C code: setting 'keymap' (even locally) 
changes the global default for 'iminsert' which is then set to 1, 
clobbering any default set at compile-time (0) or in the vimrc (which 
can be 2 on CJK locales). I would have expected ":setlocal 
keymap=something" not to touch the 'iminsert' global value. (Setting the 
_local_ value to 1 is OK, on the assumption that the user wants to 
immediately start using the newly-set keymap _in the current buffer_.)


Best regards,
Tony.
-- 
The probability of someone watching you is proportional to the
stupidity of your action.

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

Raspunde prin e-mail lui