dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit c9d4b8fc5d1911615a7b48ebc224e3cae1f40219
parent 9dc17810f2a1e9c0c67d528b25263e33522654a7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  2 May 2019 13:02:47 +0200

Update latexmk call from vim, use zathura for pdf preview

Diffstat:
A.config/latexmk/latexmkrc | 1+
M.vim/ftplugin/tex.vim | 6++++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.config/latexmk/latexmkrc b/.config/latexmk/latexmkrc @@ -0,0 +1 @@ +$pdf_previewer = 'zathura'; diff --git a/.vim/ftplugin/tex.vim b/.vim/ftplugin/tex.vim @@ -18,8 +18,8 @@ augroup latex_options "setlocal makeprg=latexmk\ -pdf\ % setlocal makeprg=latexmk\ -lualatex\ % - " or run in tmux pane: - nnoremap <leader>p :!tmux new-window -a -n "latexmk" "latexmk -pdf -pvc %" \; select-window -l<cr><cr> + " or automake in tmux window: + nnoremap <leader>p :!tmux new-window -a -n "latexmk" "latexmk -pdf -pvc -f %" \; select-window -l<cr><cr>:echo "Autocompiling in new tmux window"<cr> " disable continuous and slow chktex linting let g:ale_lint_on_text_changed = 'never' @@ -39,3 +39,5 @@ augroup latex_typography AdVIMsorEnable " detect weasel words, use of passive voice, word duplicates "DittoOn augroup END + +