summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-02-23 21:27:23 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-02-23 21:27:34 +0100
commita07cd2a091764d83e83006f2c853af152a67787b (patch)
tree1e90f0f0a007f2d3aea94b5b397a531126778326
parentc473fc6be242abd7d2fc343edd9c6639dd34a51a (diff)
downloaddotfiles-a07cd2a091764d83e83006f2c853af152a67787b.tar.gz
dotfiles-a07cd2a091764d83e83006f2c853af152a67787b.tar.bz2
dotfiles-a07cd2a091764d83e83006f2c853af152a67787b.zip
vim-latex additions
Diffstat (limited to '')
-rw-r--r--.vim/after/ftplugin/tex.vim3
-rw-r--r--.vim/ftplugin/tex.vim2
2 files changed, 5 insertions, 0 deletions
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}{<++>}\<CR><++>\<CR>\\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