Use zathura with vimtex

This commit is contained in:
Fabrice Mouhartem 2024-01-03 15:32:02 +01:00
parent df316128cd
commit b1be29b39c
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ vim.api.nvim_create_autocmd("FileType", {
callback = function()
-- vimtex configuration
vim.g.vimtex_view_method = 'zathura'
vim.g.vimtex_view_general_viewer = 'zathura'
vim.g.maplocalleader = ' '
-- Legacy shortcut from my vim-latexsuite days
vim.api.nvim_set_keymap("n", "<Leader>ls", ":VimtexView<CR>",