feat hypr keybind helper via quickshell; fix nvim plugins (not completly done yet)

This commit is contained in:
2026-05-13 02:09:43 +02:00
parent 8a6cb3b37f
commit eaaf857026
10 changed files with 570 additions and 105 deletions
+7 -6
View File
@@ -5,22 +5,23 @@ return {
ft = { "tex", "plaintex", "bib" },
init = function()
-- Must be set before vimtex loads
vim.g.vimtex_view_method = "zathura"
-- zathura-synctex: Wayland-native viewer (DBus forward search, hyprctl focus, no xdotool)
vim.g.vimtex_view_method = "general"
vim.g.vimtex_view_general_viewer = "zathura-synctex"
vim.g.vimtex_view_general_options = "--synctex-forward @line:@col:@tex @pdf"
vim.g.vimtex_compiler_method = "latexmk"
vim.g.vimtex_compiler_latexmk_engines = { _ = "-lualatex" }
vim.g.vimtex_compiler_latexmk = {
options = {
"-pdf",
"-shell-escape",
"-verbose",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
"-lualatex",
},
}
-- Disable vimtex completion (blink.cmp handles it via cmp-vimtex)
vim.g.vimtex_complete_enabled = 0
-- Disable vimtex's own syntax (use treesitter instead, with vim regex fallback)
-- Must stay 1: cmp-vimtex uses VimTeX's completion engine for \begin/\end items
vim.g.vimtex_complete_enabled = 1
vim.g.vimtex_syntax_enabled = 1
vim.g.vimtex_syntax_conceal_disable = 0
end,