Update vimtex plugin to add command for rendering.
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
return {
|
return {
|
||||||
'lervag/vimtex',
|
'lervag/vimtex',
|
||||||
lazy = false, -- we don't want to lazy load VimTeX
|
lazy = false,
|
||||||
-- tag = "v2.15", -- uncomment to pin to a specific release
|
ft = { 'tex', 'latex', 'bib' },
|
||||||
init = function()
|
init = function()
|
||||||
-- VimTeX configuration goes here, e.g.
|
|
||||||
vim.g.vimtex_view_method = 'zathura'
|
vim.g.vimtex_view_method = 'zathura'
|
||||||
|
vim.g.vimtex_compiler_method = 'latexmk'
|
||||||
end,
|
end,
|
||||||
|
keys = {
|
||||||
|
{ '<leader>r', '<cmd>VimtexCompile<cr>', desc = 'Compile LaTeX and view PDF', ft = 'tex' },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,3 +29,4 @@ alias transcat='queercat -f transgender'
|
|||||||
alias bicat='queercat -f bisexual'
|
alias bicat='queercat -f bisexual'
|
||||||
|
|
||||||
source <(fzf --zsh)
|
source <(fzf --zsh)
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user