Milan Berta wrote: > > > I'm using vim70g at the time. > > > > > > - After loading a keymap (and setting the b:keymap_name variable to > > > anything), unloading it: 'set keymap=', the last command doesn't erase > > > the b:keymap_name variable. I think vim6 doesn't behave this way, but > > > I'm not sure, and I can't reproduce the problem with it. Logical would > > > be if the b:keymap_name variable would be erased with 'set keymap=', > > > wouldn't be. > > > > I'll delete the b:keymap_name variable when 'keymap' is made empty. > > That helps to change the <czech> (<polish> or whatever) to <lang> in the > statusline. > > > > - Having '%k' as for the <keymap> in the 'statusline' and executing > > > 'unlet b:keymap_name', the statusline still shows the last > > > b:keymap_name value, and it doesn't disappear. > > > > The statusline is redrawn when 'keymap' is changed. In other (unlikely) > > situations you need to cause a redraw yourself. > > Yes, that's happen automatically in my case -- the redrawing. But after > ':set keymap=' and 'unlet b:keymap_name' there is still an annoying > '<lang>' note in the statusline at the place of '%k' (e.g. for > > set statusline=%f\ %(%k%) > > ). It's cosmetical for me -- I'm just reporting.
The <lang> is displayed because language mappings are effective. Set 'iminsert' to zero if you want to get rid of it. -- Every engineer dreams about saving the universe and having sex with aliens. This is much more glamorous than the real life of an engineer, which consists of hiding from the universe and having sex without the participation of other life forms. (Scott Adams - The Dilbert principle) /// 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 ///