Hello, * On Mon, Dec 04, 2006 at 06:53:05PM +0100, corentin barbu <[EMAIL PROTECTED]> wrote: > Finally it works. But I can no more access to the "\item" facility > with <Alt-i> this key make an "é" ?!?. I have putted the following > line in ~/.vim/ftplugin/tex.vim : > > imap <buffer> <Alt-i> <Plug>Tex_InsertItemOnThisLine > > Any idea ?
Vim does not distiniguish 'é' from '<m-i>', and '<a-i>' is '<m-i>'. Just find another keys sequence that better suits your taste -- I advise you against playing with <m-*> for insert mode mappings. > Otherway, I sugest to modify that way the faq (which is mainly for > french people I think) : We aren't the only ones concerned by this point of FAQ. > Insert the following line in your ~/.vim/ftplugin/tex.vim file (you > may have to create it) : > > imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine > > Replace <leader>it with any other key-sequence (for example <Alt-i>). > This should make <leader>it key (in the example key <Alt> and key <i>) > insert an \item command corresponding to the last opened environment > in the current line in insert mode. The <é> key which is used for > inserting the e-acute character will remain unmapped and able to > produce this letter. IMHO, <localleader> is preferable over <leader> -- Luc Hermitte http://hermitte.free.fr/vim/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel