Use zathura with vimtex

This commit is contained in:
Fabrice Mouhartem 2024-01-03 15:32:02 +01:00
parent df316128cd
commit b1be29b39c

View File

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