initial commit

This commit is contained in:
2025-10-14 12:29:46 +02:00
parent 0439bb0ff7
commit 903704e4d7
99 changed files with 8495 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
function preview()
if vim.bo.filetype ~= "tex" then
return
end
print("Previewing " .. vim.fn.expand("%:p"))
vim.cmd("VimtexCompile")
end
return {
'lervag/vimtex',
-- event = "InsertEnter",
config = function()
vim.g.vimtex_view_method = "zathura"
vim.keymap.set("n", "<leader>p", preview)
end,
lazy = false,
enabled = true,
dependencies = {}
}