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 b4841b26a76310c7ff8f36d0b1252e478237f679
parent 96817b658ad9b1229486da063a48d42b7f7eb475
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Mon, 26 Mar 2018 10:49:11 -0400

Reenable vimtex, improve tmux control for latexmk

Diffstat:
Mlinks/.vim/ftplugin/tex.vim | 5+++--
Mlinks/.vim/plugins.vim | 2+-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/links/.vim/ftplugin/tex.vim b/links/.vim/ftplugin/tex.vim @@ -15,10 +15,11 @@ augroup latex_options NoMatchParen " disable paranthesis matching for faster performance " use latexmk as make program for continuous compilation - setlocal makeprg=latexmk\ -pdf\ % + "setlocal makeprg=latexmk\ -pdf\ % + setlocal makeprg=latexmk\ -lualatex\ % " or run in tmux pane: - nnoremap <leader>p :!tmux new-window -n "latexmk" "latexmk -pdf -pvc %";tmux select-window -l<cr><cr> + nnoremap <leader>p :!tmux new-window -a -n "latexmk" "latexmk -pdf -pvc %" \; select-window -l<cr><cr> augroup END diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim @@ -89,7 +89,7 @@ Plug 'plasticboy/vim-markdown' Plug 'vim-scripts/mutt-aliases', { 'for': 'mail' } " complete ~/.mutt/aliases " LaTeX -"Plug 'lervag/vimtex' +Plug 'lervag/vimtex' Plug 'anders-dc/vim-scholarref' " search bibtex refs from web " Vimscript