Better LaTeX commands

This commit is contained in:
~erin 2023-04-15 22:52:57 -04:00
parent efd48897ad
commit e755132363
Signed by: erin
GPG Key ID: 9A8E308CEFA37A47
1 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,3 @@
-- compile and open LaTeX doc
vim.api.nvim_create_user_command('Tex',
function()
vim.cmd('!tectonic -X build')
vim.cmd('!zathura build/**/*.pdf')
end,{})
vim.keymap.set('n', 'cv', '<cmd>!zathura build/**/*.pdf > /dev/null 2>&1&<cr><cr>')
vim.keymap.set('n', 'cr', '<cmd>!tectonic -X build<cr>')