From 05d10074d0e145b5e8f517f704e3be9ef79488f6 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sun, 9 Feb 2020 19:07:40 +0100 Subject: [PATCH] Move filetype configuration to filetype specific files. --- vim/.vim/after/ftplugin/latex.vim | 3 +++ vim/.vim/vimrc | 10 +++------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 vim/.vim/after/ftplugin/latex.vim diff --git a/vim/.vim/after/ftplugin/latex.vim b/vim/.vim/after/ftplugin/latex.vim new file mode 100644 index 0000000..1c11b12 --- /dev/null +++ b/vim/.vim/after/ftplugin/latex.vim @@ -0,0 +1,3 @@ +set expandtab + +map :update\ll diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 4157c91..91f11c6 100644 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -25,13 +25,6 @@ set colorcolumn=72 map imap - -map :update:make -imap :update:make - -map :call SetExecutable() -imap :call SetExecutable - " Paste using Ctrl+V in insert mode. inoremap "+p @@ -45,6 +38,9 @@ let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_wq = 0 +"vim-latex configuration +let g:Tex_CompileRule_pdf = "latexmk -pdflatex='pdflatex -file-line-error -synctex=1 -interaction=nonstopmode' $*" + " Remove trailing whitespace, always. fun! StripTrailingWhitespace() " Skip files where the type is trailing space sensitive.