summaryrefslogtreecommitdiff
path: root/lua/config/latex-which_key.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/config/latex-which_key.lua')
-rw-r--r--lua/config/latex-which_key.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/config/latex-which_key.lua b/lua/config/latex-which_key.lua
new file mode 100644
index 0000000..3553455
--- /dev/null
+++ b/lua/config/latex-which_key.lua
@@ -0,0 +1,13 @@
+-- Mappings
+
+lvim.builtin.which_key.mappings["L"] = {
+ name = "LaTeX",
+ C = {
+ name = "Compile",
+ c = { "<cmd>TexlabBuild<CR>", "Compile Project and Show Output" },
+ e = { "<cmd>Texplore<CR>", "Explore current directory" },
+ C = { "<cmd>VimtexClean<CR>", "Clean Project with vimtex" },
+ v = { "<cmd>VimtexCompile<CR>", "Compile Project with vimtex" },
+ V = { "<cmd>VimtexView<CR>", "Show the output" },
+ },
+}