diff --git a/dot_config/nvim/lua/atta/vscode/init.lua b/dot_config/nvim/lua/atta/vscode/init.lua index 20ce4aa..a87087c 100644 --- a/dot_config/nvim/lua/atta/vscode/init.lua +++ b/dot_config/nvim/lua/atta/vscode/init.lua @@ -65,13 +65,16 @@ function M.setup() -- Show the command palette noremap("n", "cx", function() - cmd([[call VSCodeNotifyVisual("workbench.action.showCommands", 1)]]) + cmd([[call VSCodeNotify("workbench.action.showCommands", 1)]]) end) -- Toggle the sidebar noremap("n", "e", function() triggerVSCodeNotifyCommand("workbench.action.toggleSidebarVisibility") end) + + noremap({ "x", "n", "o" }, "gc", "VSCodeCommentary") + noremap("n", "gcc", "VSCodeCommentaryLine") end return M