[Vim-latex-devel] re-map EFI
Brought to you by:
srinathava,
tmaas
From: Claus A. <cla...@fr...> - 2004-03-13 23:40:20
|
Hi, I have vim-latex installed. It is working perfectly. However, I want to re-map the command EFI, which inserts a figure template. For that, I have added the following line in $VIM/ftplugin/tex.vim: call IMAP ('EFI', "\\begin{figure} \\centering\<CR>\\includegraphics[width=\\columnwidth]{<+file+>}\<CR>\\caption{<++>}\<CR>\\label{<++>}\<CR>\\end{figure}\<CR><++>", 'tex') The line works if I chose something which is not pre-defined by vim-latex, e.g. "call IMAP ('EEE', ...)", but as it is written above, still vim-latex's pre-defined template is inserted. How can I re-map EFI for my own purpose? Thanks for any hint! Claus PS: I know, this is a user question, but there is only the devel list available for vim-latex. |