diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index e132b02..5762456 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -62,7 +62,7 @@ keymap("n", "", "lua require('Comment.api').toggle.linewise.curre -- keymap("i", "", "lua _LIVE_SERVER()", opts) -- ALT + l to open terminal and run live-server -keymap("n", "", "terminallive-server", opts) +keymap("n", "", "terminal live-server", opts) -- Resize with arrows -- cona diff --git a/lua/user/whichkey.lua b/lua/user/whichkey.lua index 331e7e5..c129e82 100644 --- a/lua/user/whichkey.lua +++ b/lua/user/whichkey.lua @@ -302,7 +302,8 @@ local mappings = { t = { name = "  Terminal", - l = { "lua _LIVE_SERVER()", "Live Server" }, + -- l = { "lua _LIVE_SERVER()", "Live Server" }, + l = { "terminal live-server", "Live Server" }, P = { "lua _NEWTAB_TOGGLE()", "Power Shell" }, -- l = { "ToggleTerm direction=tablive-server", "Live Server" }, x = { "ToggleTermToggleAll!", "Close Tab" }, @@ -327,7 +328,7 @@ local mappings = { r = { "RunCode", "Run Code" }, f = { "RunFile", "Run File" }, p = { "RunProject", "Run Project" }, - g = { "terminalgradle run", "Run Gradle" }, + g = { "terminal gradle run", "Run Gradle" }, m = { "ToggleTerm size=70 direction=floatmvn exec:java -Dexec.mainClass=com.pojokcode.App", "Run MVN",