Skip to content

How to disable keybinds in vscode recipe #1243

Answered by ahmtsen
kun-codes asked this question in Q&A
Discussion options

You must be logged in to vote

You can add the following snippet in your plugins directory e.g. plugins/vscode-disable-keymaps.lua to disable the keymap overrides.

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,
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kun-codes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants