aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/vim/ftplugin/tex/tex.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/vim/ftplugin/tex/tex.vim b/files/vim/ftplugin/tex/tex.vim
index a60be03..b42e44a 100644
--- a/files/vim/ftplugin/tex/tex.vim
+++ b/files/vim/ftplugin/tex/tex.vim
@@ -11,6 +11,8 @@ nnoremap <buffer> <leader>e :Errors<CR>
" proselint not enabled by default (it's slow)
nnoremap <buffer> <leader>sp :SyntasticCheck proselint<CR>
+nnoremap <buffer> <leader>temp :-1r ~/.vim/ftplugin/tex/snips/template.txt<CR>Gdd?<+++><CR>cf>
+
nnoremap <buffer> <leader>c :w<Enter>:! pdflatex --shell-escape %<Enter>
inoremap <buffer> <leader>ldocclass \documentclass{}<Esc>o<++><Esc>k$i
inoremap <buffer> <leader>lpckg \usepackage{}<Esc>o<++><Esc>k$i