Can't explain you results (in my xterm all your imap's works like a charm). But just one wilde idea... What if you define your mappings like this:
imap 'a <C-R>=nr2char(225)<CR> imap 'e <C-R>=nr2char(233)<CR> imap 'i <C-R>=nr2char(237)<CR> imap 'u <C-R>=nr2char(250)<CR> ? -- Anton 2008/11/11, NOVAK Judit <[EMAIL PROTECTED]>: > > Dear All, > > > In case the answer is simple to my question I apologize for bothering, > but being no vim expert, having quite some time spent on trying to find > a solution with no success, I thought to ask for help... > > On my newly installed laptop (Debian lenny, vim 7.1.314) I'm encoutering > problems with key mappings. Each 'imap' mapping I'm loading from .vimrc now > works in a way that after the sequence it pauses for 2 more keyboard > inputs before displaying the character that's the result of the mapping. > (Same happens if I'm loading the mappings from a keymap file.) > > The mappings I'm using are like: > > imap 'a á > imap 'e é > imap 'i í > imap 'u ú > > What I managed to experiment was the following. If I'm using a > non-utf8-aware terminal (so NO -u8 options for an xterm, or any other > config settings) then having $LANG set to 'C' instead of the default > 'en_US.UTF-8' the thing works: vim doesn't pause for any extra > keyboard inputs, when the mapping sequence was typed, but displays > it immediately. > > Setting enc=utf-8 doesn't help the problem. > > Any hints are VERY welcome... > > > Thanks in advance, > Judit Novak > > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
