1
0
This commit is contained in:
Jeff Lance 2024-04-24 22:51:37 +02:00
parent 6a8709039d
commit cb72e4303a

View File

@ -34,27 +34,27 @@ whk.register {
whk.register { whk.register {
["<localleader>"] = { -- to set a completly new using only the localleader key ["<localleader>"] = { -- to set a completly new using only the localleader key
name = "LaTeX", name = "LaTeX",
c = { "<cmd>VimtexCompileSS<CR>", "Single-shot compile project" }, c = { "<CMD>VimtexCompileSS<CR>", "Single-shot compile project" },
C = { C = {
name = "Compile", name = "Compile",
s = { "<cmd>VimtexStop<CR>", "Stop compile" }, s = { "<CMD>VimtexStop<CR>", "Stop compile" },
c = { "<cmd>VimtexCompileSelected<CR>", "Compile Selected" }, c = { "<CMD>VimtexCompileSelected<CR>", "Compile Selected" },
}, },
d = { "<cmd>VimtexDocPackage<CR>", "Open Doc for package" }, d = { "<CMD>VimtexDocPackage<CR>", "Open Doc for package" },
e = { "<cmd>VimtexErrors<CR>", "Look at the errors" }, e = { "<CMD>VimtexErrors<CR>", "Look at the errors" },
m = { '<cmd>VimtexToggleMain <bar> let @+ = expand("%:t")<CR>', "Toggle Main" }, m = { '<CMD>VimtexToggleMain <bar> let @+ = expand("%:t")<CR>', "Toggle Main" },
o = { "<cmd>VimtexView<CR>", "View pdf" }, o = { "<CMD>VimtexView<CR>", "View pdf" },
s = { "<cmd>VimtexStatus<CR>", "Look at the status" }, s = { "<CMD>VimtexStatus<CR>", "Look at the status" },
T = { T = {
name = "TOC", name = "TOC",
o = { "<cmd>VimtexTocOpen<CR>", "Open TOC" }, o = { "<CMD>VimtexTocOpen<CR>", "Open TOC" },
t = { "<cmd>VimtexTocToggle<CR>", "Toggle TOC" }, t = { "<CMD>VimtexTocToggle<CR>", "Toggle TOC" },
}, },
V = { V = {
name = "VimTeX", name = "VimTeX",
c = { "<CMD>edit /home/jeff/.config/lvim/ftplugin/tex.lua<CR>", "Edit configuration" }, c = { "<CMD>edit /home/jeff/.config/lvim/ftplugin/tex.lua<CR>", "Edit configuration" },
s = { "<CMD>edit /home/jeff/.config/lvim/luasnippets/tex.lua<CR>", "Edit snippets" }, s = { "<CMD>edit /home/jeff/.config/lvim/luasnippets/tex.lua<CR>", "Edit snippets" },
i = { "<cmd>VimtexInfo<CR>", "Vimtex Info" }, i = { "<CMD>VimtexInfo<CR>", "Vimtex Info" },
}, },
} }
} }