which-key.nvim icon indicating copy to clipboard operation
which-key.nvim copied to clipboard

Pressing v c-u triggers which-key and stops there

Open drusmanbashir opened this issue 7 months ago • 2 comments

Did you check docs and existing issues?

  • [X] I have read all the which-key.nvim docs
  • [X] I have updated the plugin to the latest version before submitting this issue
  • [X] I have searched the existing issues of which-key.nvim
  • [X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.11.0-dev-434+ga0fd51c1e

Operating system/version

Ubuntu 22.04

Describe the bug

So if i go into visual mode, which-key triggers automatically, if then i press ctrl-f to go down, it works fine. If instead I press ctrl-u to go up, nothing happens. I have to press some other key to get out of which-key and then do ctrl-u.

Steps To Reproduce

press v. Press ctrl-u

Expected Behavior

I expect neovim to enter visual mode and move up a block as usual with ctrl-u

Health

No response

Log

No response

Repro

 local which_key = require "which-key"
  which_key.setup {
    opts = {
     triggers = {
       { "<auto>", mode = "nixsotc" },
       { "a", mode = {  "n" } },
     },
    },
    preset = "helix",
    plugins = {
      marks = true,
      registers = true,
      spelling = {
        enabled = true,
        suggestions = 20,
      },
      presets = {
        operators = false,
        motions = false,
        text_objects = false,
        windows = false,
        nav = false,
        z = false,
        g = false,
      },
    },
    win = {
      border = "rounded",
      no_overlap = false,
      padding = { 1, 2 }, -- extra window padding [top/bottom, right/left]
      title = false,
      title_pos = "center",
      zindex = 1000,
    },
    -- ignore_missing = true,
    show_help = false,
    show_keys = false,
    disable = {
      buftypes = {},
      filetypes = { "TelescopePrompt" },
    },

drusmanbashir avatar Jul 26 '24 12:07 drusmanbashir