Adding frame environment to Vim LaTeX suite

Vim LATEXsuite is a neat plugin for Vim which makes editing LATEXdocuments much more fun than usual.

To the best of my knowledge, there is no direct support for Beamer for making presentations.

However, as it turns out, adding simple macros is relatively easy. All it took was a small edit in tex.vim in the folder ˜/.vim/ftpluings :

call IMAP('EFE',

And then the letters EFE automatically produce the rather nifty code in my .tex files:


Letter EFR would have been more natural, but, unfortunately, they are already mapped to:


As per vim-latex suite nomenclature, EFE was the next option.

Back to Home

musically_ut 2014-04-03