From 56e16603121f94b6ea4b7125c596a09540569841 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Jul 2021 15:28:34 +0200 Subject: Latest updates from LunarVim, new handrolled colorscheme --- .config/nvim/lua/cfg/vimtex/init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.config/nvim/lua/cfg/vimtex') diff --git a/.config/nvim/lua/cfg/vimtex/init.lua b/.config/nvim/lua/cfg/vimtex/init.lua index 11ed68b..4d7b93b 100644 --- a/.config/nvim/lua/cfg/vimtex/init.lua +++ b/.config/nvim/lua/cfg/vimtex/init.lua @@ -2,6 +2,16 @@ vim.g.vimtex_compiler_method = "latexmk" vim.g.vimtex_view_method = "zathura" vim.g.vimtex_fold_enabled = 0 +O.user_which_key["L"] = { + name = "+Latex", + c = { "VimtexCompile", "Toggle Compilation Mode" }, + f = { "call vimtex#fzf#run()", "Fzf Find" }, + i = { "VimtexInfo", "Project Information" }, + s = { "VimtexStop", "Stop Project Compilation" }, + t = { "VimtexTocToggle", "Toggle Table Of Content" }, + v = { "VimtexView", "View PDF" }, +} + -- Compile on initialization, cleanup on quit vim.api.nvim_exec( [[ -- cgit v1.2.3-70-g09d2