add vimtex

This commit is contained in:
Benjamin Kyd
2023-09-25 22:22:26 +01:00
parent 323a444f7a
commit 05e95b983f
2 changed files with 13 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ return {
{ '<leader>hg', '<cmd>lua require("harpoon.mark").toggle_file() <cr>', desc = "Add file to harpoon list" },
},
config = function()
require('harpoon').setup({ tabline = true })
require('harpoon').setup({ tabline = true })
for pos = 1, 9 do
vim.keymap.set("n", "<C-w>" .. pos, function()
@@ -257,6 +257,17 @@ return {
hint_prefix = '🚀'
},
},
{
"lervag/vimtex",
lazy = false,
keys = {
{ '<leader>ll', '<cmd>VimtexCompileSS<cr>', desc = "Compile LaTeX" },
{ '<leader>lc', '<cmd>VimtexCompile<cr>', desc = "Compile LaTeX Continuously" },
},
config = function()
vim.g.vimtex_view_method = 'zathura'
end,
},
{
url = 'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
config = function()