-
I want to use the vscode recipe in astrocommunity however I don't want these keybinds since I already have keybinds for these in my vscode. How do I override this to remove them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can add the following snippet in your plugins directory e.g. if not vim.g.vscode then return {} end -- don't do anything in non-vscode instances
return {
"AstroNvim/astrocore",
---@param opts AstroCoreOpts
opts = function(_, opts) opts.mappings = {} end -- clear mappings,
} |
Beta Was this translation helpful? Give feedback.
-
Thanks I tried it for a short period of time and it works. Although I don't know if it would solve the bug where my neovim gets disconnected from vscode after using vscode for sometime. I will update in future. |
Beta Was this translation helpful? Give feedback.
You can add the following snippet in your plugins directory e.g.
plugins/vscode-disable-keymaps.lua
to disable the keymap overrides.