From e8b0fe4b5199a86438afebbc5747357e2cbd4dc8 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 17 Nov 2024 16:25:28 -0800 Subject: [PATCH] move back to skim for latex preview --- lua/plugins/texlabconfig.lua | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/lua/plugins/texlabconfig.lua b/lua/plugins/texlabconfig.lua index 3166e02..6b7611d 100644 --- a/lua/plugins/texlabconfig.lua +++ b/lua/plugins/texlabconfig.lua @@ -4,24 +4,12 @@ return { dependencies = { "lervag/vimtex" }, config = function() -- vimtex - vim.g.vimtex_view_method = "sioyek" + vim.g.vimtex_view_method = "skim" vim.g.vimtex_compiler_method = "tectonic" -- nvim-texlabconfig - local tex_preview_executable = "zathura" - local tex_preview_args = { - "--reuse-window", - "--execute-command", - "toggle_synctex", -- Open Sioyek in synctex mode. - "--inverse-search", - [[/Users/salar/.local/share/nvim/lazy/nvim-texl/nvim-texlabconfig -file %%%1 -line %%%2 -server ]] - .. vim.v.servername, - "--forward-search-file", - "%f", - "--forward-search-line", - "%l", - "%p", - } + local tex_preview_executable = "skim" + local tex_preview_args = { "%l", "%p", "%f" } local texlab_build_executable = "tectonic" local texlab_build_args = { "-X",