diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-08 15:28:34 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-08 15:28:34 +0200 |
commit | 56e16603121f94b6ea4b7125c596a09540569841 (patch) | |
tree | 252afa6c8680f58095771f437f6ad516fda4fe13 /.config/nvim/lua/cfg/vimtex | |
parent | 235a49fe4ab108abbecf43066a7a37133bb49bc9 (diff) |
Latest updates from LunarVim, new handrolled colorscheme
Diffstat (limited to '.config/nvim/lua/cfg/vimtex')
-rw-r--r-- | .config/nvim/lua/cfg/vimtex/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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 = { "<cmd>VimtexCompile<cr>", "Toggle Compilation Mode" }, + f = { "<cmd>call vimtex#fzf#run()<cr>", "Fzf Find" }, + i = { "<cmd>VimtexInfo<cr>", "Project Information" }, + s = { "<cmd>VimtexStop<cr>", "Stop Project Compilation" }, + t = { "<cmd>VimtexTocToggle<cr>", "Toggle Table Of Content" }, + v = { "<cmd>VimtexView<cr>", "View PDF" }, +} + -- Compile on initialization, cleanup on quit vim.api.nvim_exec( [[ |