From 05e95b983f1c06549fd2ea0a311f98508c14f165 Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Mon, 25 Sep 2023 22:22:26 +0100 Subject: [PATCH] add vimtex --- common/.config/btop/btop.conf | 2 +- common/.config/nvim/lua/plugins.lua | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/common/.config/btop/btop.conf b/common/.config/btop/btop.conf index 3321309..181309e 100644 --- a/common/.config/btop/btop.conf +++ b/common/.config/btop/btop.conf @@ -54,7 +54,7 @@ update_ms = 400 #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu lazy" +proc_sorting = "memory" #* Reverse sorting order, True or False. proc_reversed = False diff --git a/common/.config/nvim/lua/plugins.lua b/common/.config/nvim/lua/plugins.lua index 7882383..af7da23 100644 --- a/common/.config/nvim/lua/plugins.lua +++ b/common/.config/nvim/lua/plugins.lua @@ -52,7 +52,7 @@ return { { 'hg', 'lua require("harpoon.mark").toggle_file() ', 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", "" .. pos, function() @@ -257,6 +257,17 @@ return { hint_prefix = '🚀' }, }, + { + "lervag/vimtex", + lazy = false, + keys = { + { 'll', 'VimtexCompileSS', desc = "Compile LaTeX" }, + { 'lc', 'VimtexCompile', desc = "Compile LaTeX Continuously" }, + }, + config = function() + vim.g.vimtex_view_method = 'zathura' + end, + }, { url = 'https://git.sr.ht/~whynothugo/lsp_lines.nvim', config = function()