From a07cd2a091764d83e83006f2c853af152a67787b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 23 Feb 2012 21:27:23 +0100 Subject: vim-latex additions --- .vim/after/ftplugin/tex.vim | 3 +++ .vim/ftplugin/tex.vim | 2 ++ 2 files changed, 5 insertions(+) (limited to '.vim') diff --git a/.vim/after/ftplugin/tex.vim b/.vim/after/ftplugin/tex.vim index e727ab8..9a3c360 100644 --- a/.vim/after/ftplugin/tex.vim +++ b/.vim/after/ftplugin/tex.vim @@ -1,3 +1,6 @@ " disable annoying {{ and (( completion call IMAP('{{', '{{', 'tex') call IMAP('((', '((', 'tex') + +" add our own macros +call IMAP('EFR', "\\begin{frame}{<++>}\<++>\\\end{frame}<++>", "tex") diff --git a/.vim/ftplugin/tex.vim b/.vim/ftplugin/tex.vim index c8c8fb9..95c2dd6 100644 --- a/.vim/ftplugin/tex.vim +++ b/.vim/ftplugin/tex.vim @@ -9,3 +9,5 @@ set grepprg=grep\ -nH\ $* let tlist_tex_settings = 'latex;s:sections;g:graphics;l:labels' set lbr " Break only between words + +" also have a look at after/ftplugin/tex.vim -- cgit v1.2.3