Skip to content

Unable to remove default which-key keybindings config #92

@brymon68

Description

@brymon68

I am trying to completely disable all default which-key bindings (besides those defined in my keymaps) but have been unsuccessful.

In my plugins/which-key.lua file I have:

return {
  "folke/which-key.nvim",
  event = "VeryLazy",
  init = function()
    vim.o.timeout = true
    vim.o.timeoutlen = 500
  end,
  keys = function()
    return {} -- <--should remove all default mappings
  end
}

I have tried overriding defaults as well as overriding keys but have been unsuccessful. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions