Milan Berta wrote: > using: VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 6 2007 18:55:12) > Included patches: 1-188 > > when I load any keymaps after each other the b:keymap_name variable > vanish after loading the second keymap and never appears again. > > So, > - open vim $vim -u NONE --noplugin > - :echo b:keymap_name #error message, the value doesn't exist, OK, true > - :setlocal keymap=esperanto #or whatever else > - :echo b:keymap_name #Eo message, OK, true > - :setlocal keymap=esperanto #or whatever else > - :echo b:keymap_name #error message, the value doesn't exist, ???, it's > like :unlet b:keymap_name. > > Strange enough: the %k variable in the statusline works well all the > time -- shows the right value: either nothing, or <lang> = nothing, or > <Eo>. But it depends on the b:keymap_name value which stops to exist at > some time. > > I couldn't find anything, which would point to a vanishing variable of > b:keymap_name (which is actually defined in every keymap file) in the > documentation or help: > - help keymap > - help loadkeymap > - help statusline
Looks like a bug. I'll put it in the todo list. -- ### Hiroshima 45, Chernobyl 86, Windows 95 ### /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///