diff --git a/init.lua b/init.lua index 4e5b3fb..1640f45 100644 --- a/init.lua +++ b/init.lua @@ -182,6 +182,10 @@ local config = { -- Debugger mappings ["dl"] = { name = "Load launch.json" }, + ["L"] = { + "LiveServer", + desc = " Live server" + }, -- Config loading ["dlc"] = { function() require("dap.ext.vscode").load_launchjs(nil, { cppdbg = { "c", "cpp", "asm" } }) end, @@ -204,7 +208,7 @@ local config = { ["ms"] = { "MarkdownPreviewStop", desc = "Markdown preview stop" }, ["mt"] = { "MarkdownPreviewToggle", desc = "Markdown preview toggle" }, -- Vimtex mappings - -- ["x"] = { name = " LaTeX" }, + ["x"] = { name = " LaTeX" }, ["xi"] = { "VimtexInfo", desc = "Info" }, ["xI"] = { "VimtexInfoFull", desc = "Full info" }, ["xt"] = { "VimtexTocOpen", desc = "Open table of contents" }, @@ -510,6 +514,15 @@ local config = { cmd = { "PIO", "PIOInit", "PIOInstall", "PIOUninstall", "PIONewProject", "PIOAddLibrary", "PIORemoveLibrary" }, }, + -- Live server + { + "aurum77/live-server.nvim", + run = function() + require"live_server.util".install() + end, + cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" }, + }, + -- Text related { -- LaTeX