Le Jeu 11 Mai 2006 14:57, Pierre Habouzit a écrit :

>     " make <enter> work in popup
>     inoremap <cr> <C-R>=pumvisible() ? "\<lt>C-Y>" : "\<lt>cr>"<cr>
>
> sadly I can't do the same with <esc> to exit the completion, because
> of <esc> beeing <esc> (and me using vim into non 8-bit capable
> terminals).

which is a wrong assertion, 

inoremap <esc> <C-R>=pumvisible() ? "\<lt>C-E>" : "\<lt>esc>"<cr>

just look to work fine. I don't remember which problem I encountered 
with that one ...
-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpcyonmnM1F8.pgp
Description: PGP signature

Reply via email to