1 Dec 2004 02:11
Re: [Feature Request]: &metasendsescape
Herculano de Lima Einloft Neto <hlen <at> ig.com.br>
2004-12-01 01:11:58 GMT
2004-12-01 01:11:58 GMT
Bram Moolenaar wrote: >It works for me: > > :map <M-a> lll > >Pressing Alt-a has the effect of "lll". > >Make sure 'encoding' is set to "utf-8" before the mappings are defined, >otherwise it might not work. Changing 'encoding' while Vim is running >has many side effects. Best is to set it as early as possible and leave >it alone. > > Ok, I'll gladly take your word for it, even though I couldn't make it work here. One issue bugs me: as much as it is easy to get your terminal to behave the right way when you're using xterm, standard terminals like the linux console and gnome-terminal default to sending an ESC prefix, and there appears to be no easy (at least findable) way to change that! Just ima- gine how many console/gnome-terminal users have been bugged by the fact their <M-c> maps don't work. I had to write an ioctl() C snippet to change that in the console, but I can't find any way to do it with gnome- terminal, as much as I suspect there might be an obscure control sequence. This is a problem which, in my point of view, should be considered with attention, and mentioned with care in the docs. Best,(Continue reading)
RSS Feed