diff --git a/config/nvim/lua/plugins/vimtext.lua b/config/nvim/lua/plugins/vimtext.lua index 0f7f615..6c54f0c 100644 --- a/config/nvim/lua/plugins/vimtext.lua +++ b/config/nvim/lua/plugins/vimtext.lua @@ -1,9 +1,12 @@ return { 'lervag/vimtex', - lazy = false, -- we don't want to lazy load VimTeX - -- tag = "v2.15", -- uncomment to pin to a specific release + lazy = false, + ft = { 'tex', 'latex', 'bib' }, init = function() - -- VimTeX configuration goes here, e.g. vim.g.vimtex_view_method = 'zathura' + vim.g.vimtex_compiler_method = 'latexmk' end, + keys = { + { 'r', 'VimtexCompile', desc = 'Compile LaTeX and view PDF', ft = 'tex' }, + }, } diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index ec1d1d4..3bafa31 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -29,3 +29,4 @@ alias transcat='queercat -f transgender' alias bicat='queercat -f bisexual' source <(fzf --zsh) +export PATH="$HOME/.local/bin:$PATH"