diff --git a/compiler/rubber.vim b/compiler/rubber.vim deleted file mode 100644 index a0905d9..0000000 --- a/compiler/rubber.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Vim compiler file -" Compiler: pdf creator out of LaTeX files using rubber -if exists("current_compiler") - finish -endif - -let current_compiler = "rubber" -CompilerSet makeprg=rubber\ -d\ % -"CompilerSet efm=%f:%l:\ [%t]%m,%f:%l:%m - diff --git a/ftplugin/tex/common.vim b/ftplugin/tex/common.vim deleted file mode 100644 index f423899..0000000 --- a/ftplugin/tex/common.vim +++ /dev/null @@ -1,4 +0,0 @@ -compiler rubber -map :make - -autocmd BufWritePost *.tex :make diff --git a/vimrc b/vimrc index d5376a4..b404788 100644 --- a/vimrc +++ b/vimrc @@ -25,6 +25,7 @@ Plug 'gryf/python-syntax' Plug 'gryf/pythonhelper' Plug 'gryf/tagbar', {'branch': 'show_tag_kind2'} Plug 'gryf/wombat256grf' +Plug 'gryf/vim-latex-compiler' Plug 'gryf/zoom.vim' Plug 'hallison/vim-markdown' Plug 'honza/vim-snippets' @@ -303,6 +304,9 @@ let g:riv_fold_level = -1 " formatting tables, doesn't work so good with complex grid tables let g:riv_auto_format_table = 0 "}}} +" Rubber {{{2 +let g:rubber_make_on_save = 1 +" }}} "ShowMarks {{{2 let g:showmarks_ignore_type = "hqprm" let g:showmarks_include = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"