On Oct 7, 11:58 am, Hoss <[email protected]> wrote: > I am having trouble mapping my alt keys. so if I use this mapping > > <M-g> :echo hihi > > I get nothing when I hold down alt, and press g in normal mode. > > I have read :map-alt-keys in the documentation, and it suggests > there's alot going on with getting the alt key from my keyboard to > vim.
What I did to get alt/meta mappings to work was turn off the "meta sends escape" setting in xterm. This is probably why you see the ^ [ which is escape being printed. I think you will also need to do this to have good insert mode meta mappings. Jason --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
