Re: [Vim-latex-devel] Behaviour of <M-i> in svn r1000
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-03-23 00:49:55
|
Hi, On 3/22/06, Christian Ebert <bla...@gm...> wrote: > Hello *, > > Yes, I know it's a FAQ: > > inoremap <buffer> <leader>il <Plug>Tex_InsertItemOnThisLine This should be :imap, :inoremap will fail. > > to be able to type =E9. But with first revision from svn I this > didn't help; I had to do > > iunmap <buffer> <M-i> > > first to make it work again. > It looks like you put the :imap command in a file which got sourced after tex_latexSuite.vim. latex-suite can only use the hasmapto() function to check for other maps if they are already created by the time latex-suite gets sourced. The recommended place to put this customization is in ~/.vim/ftplugin/tex.vim. > From the logs I guess it has to do with r899, but I don't > understand whether this considered as fixed or bug. > It works for me. If I put imap <buffer> <leader>il <Plug>Tex_InsertItemOnThisLine in my ~/.vimrc, then I can type <M-i> without invoking the mapping (it inserts a e-acute character). Srinath |