Repository navigation
|
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? |
Answered by
ahmtsen
Oct 16, 2024
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,
} |
0 replies
Answer selected by
kun-codes
|
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add the following snippet in your plugins directory e.g.
plugins/vscode-disable-keymaps.luato disable the keymap overrides.