Skip to content

Commit

Permalink
vscode-neovim: Fix up some issues with recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Attamusc committed Oct 3, 2023
1 parent 0cfcdbb commit a78be17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dot_config/nvim/lua/atta/vscode/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,16 @@ function M.setup()

-- Show the command palette
noremap("n", "<leader>cx", function()
cmd([[call VSCodeNotifyVisual("workbench.action.showCommands", 1)]])
cmd([[call VSCodeNotify("workbench.action.showCommands", 1)]])
end)

-- Toggle the sidebar
noremap("n", "<leader>e", function()
triggerVSCodeNotifyCommand("workbench.action.toggleSidebarVisibility")
end)

noremap({ "x", "n", "o" }, "gc", "<Plug>VSCodeCommentary")
noremap("n", "gcc", "<Plug>VSCodeCommentaryLine")
end

return M

0 comments on commit a78be17

Please sign in to comment.