summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
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