Skip to content

[Picker] how to disable a keymap #582

Answered by pkazmier
echaya asked this question in Q&A
Discussion options

You must be logged in to vote

You can set the value of the key to false:

  {
    "snacks.nvim",
    opts = {
      ---@type snacks.picker.Config
      picker = {
        win = {
          input = {
            keys = {
              ["<c-b>"] = false,
              ["<c-f>"] = false,
            },
          },
        },
      },
    },
  },

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by echaya
Comment options

You must be logged in to vote
2 replies
@pkazmier
Comment options

@echaya
Comment options

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