Thanks Tony, the output of the two verbose commands shows no mappings. It is quite possible that the mlterm does not pass the alt-i combo to vim... I am wondering how to make alt-i passable to vim in mlterm.
Regards, Zhang On Jan 2, 1:26 pm, Tony Mechelynck <[email protected]> wrote: > On 02/01/09 19:50, zhengquan wrote: > > > Dear vim users: > > I found that using Alt-I to insert an \item does not work in mlterm. > > xterm is ok. I wonder some mlterm features are blocking the alt-I > > combo. > > > Thanks for any pointers and Happy new year. > > > Zhang > > Alt-I is not a standard Vim binding. You might try to see how it is > defined and by what: > > :verbose map <M-I> > :verbose map! <M-I> > > (both with and without the exclamation mark, and while editing the file > where you expected to use the Alt-I combo, not while looking at the > help). Then you may remap the same {rhs} to a different {lhs} which Vim > is more likely to see in all terminals, e.g. F7 which is about > vertically above the I on a QWERTY, QWERTZ or AZERTY keyboard. > > Or you can even take advantage of the fact that mappings defined without > "nore-" will reinterpret their {rhs} for further mappings: > > :map <F7> <M-I> > :map! <F7> <M-I> > > (Some terminals and some window managers don't pass all key combos to > programs running in them. Also, Alt-letter combinations are usually > mapped to menus, and your mlterm might just have a menu starting in I.) > > Best regards, > Tony. > -- > Democracy is a form of government in which it is permitted to wonder > aloud what the country could do under first-class management. > -- Senator Soaper --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
