Re: [Vim-latex-devel] Behaviour of <M-i> in svn r1000
Brought to you by:
srinathava,
tmaas
From: Christian E. <bla...@gm...> - 2006-03-23 11:03:15
|
* Srinath Avadhanula on Wednesday, March 22, 2006 at 16:49:48 -0800: > On 3/22/06, Christian Ebert <bla...@gm...> wrote: >> inoremap <buffer> <leader>il <Plug>Tex_InsertItemOnThisLine > > This should be :imap, :inoremap will fail. Oops, sorry typo, because I had experimented after it stopped working. >> to be able to type é. 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. Indeed, I had it in ~/.vim/after/ftplugin/tex.vim which seemed the logical place: :help after 5. In the "after" directory in your home directory. This is for personal preferences to overrule or add to the distributed defaults or system-wide settings (rarely needed). > 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. Ok, I put it there and it works again. Thanks! Instructing users to put their customizations in the "after" directory probably would have saved you to write that function, but this is getting too anal ;-) c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html> |