diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 2481da3..b3962ec 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -44,4 +44,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x1ebrblue SETUVAR fish_pager_color_selected_completion:black\x1e\x2d\x2dbold SETUVAR fish_pager_color_selected_description:bryellow\x1e\x2d\x2dbold\x1e\x2d\x2ditalics SETUVAR fish_pager_color_selected_prefix:black\x1e\x2d\x2dbold\x1e\x2d\x2dunderline -SETUVAR fish_user_paths:/home/never/\x2elocal/scripts\x1e/usr/local/texlive/2025/bin/x86_64\x2dlinux +SETUVAR fish_user_paths:/home/never/\x2elocal/sioyek\x1e/home/never/\x2elocal/scripts\x1e/usr/local/texlive/2025/bin/x86_64\x2dlinux diff --git a/.config/nvim/lsp/texlab.lua b/.config/nvim/lsp/texlab.lua index 8fc253f..5fe3e7e 100644 --- a/.config/nvim/lsp/texlab.lua +++ b/.config/nvim/lsp/texlab.lua @@ -145,8 +145,17 @@ return { forwardSearchAfter = true, }, forwardSearch = { - executable = 'okular', - args = {'--unique', 'file:%p#src:%l%f'}, + executable = 'sioyek', + args = { + '--inverse-search', + '--reuse-instance', + 'file:%p#src:%l%f', + '--forward-search-file', + '%f', + '--forward-search-line', + '%l', + '%p' + }, }, chktex = { onOpenAndSave = false, diff --git a/README.md b/README.md index 55668eb..574377f 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,13 @@ Also install `tree-sitter-cli`. Similarly the TeXLive version in the Fedora repos are not up to date. Use the manual [installation](https://tug.org/texlive/quickinstall.html). -Also installing a PDF viewer with synctex support is recommended. +Also installing a PDF viewer with synctex support is recommended + +### Sioyek +Build the development branch of [sioyek](https://github.com/ahrm/sioyek/tree/development). +Install the packages. ```sh -sudo dnf install okular +sudo dnf install qt6-qtbase-devel qt6-qtbase-static qt6-qt3d-devel harfbuzz-devel qt6-qtsvg-devel qt6-qtspeech-devel ``` ### mpd