Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug: Linewise visual mode mode is not activated after pressing V #984

Open
Labels
bugSomething isn't working
@ava5627

Description

@ava5627

Did you check docs and existing issues?

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

Neovim version (nvim -v)

NVIM v0.11.0 Build type: Release LuaJIT 2.1.1741730670

Operating system/version

Nixos 25.05

Describe the bug

WhenV is pressed linewise visual mode is not immediately activated, instead it does not change until another key is pressed

Similar to#898 but the line is highlighted immediately

2025-05-21.12-33-51.mp4

Steps To Reproduce

  1. Open a file and navigate to a line with text
  2. PressV, linewise visual mode is not activated
  3. Press any other key, linewise visual mode is activated

Expected Behavior

Linewise visual mode is activated when pressingV

Health

which-key:                                 require("which-key.health").check()- OK Most of these checks are for informational purposes only.  WARNINGS should be treated as a warning, and don't necessarily indicate a problem with your config.  Please |DON'T| report these warnings as an issue.Checking your config ~- WARNING |mini.icons| is not installed- WARNING |nvim-web-devicons| is not installed- WARNING Keymap icon support will be limited.Checking for issues with your mappings ~- OK No issues reportedchecking for overlapping keymaps ~- WARNING In mode `n`, <gc> overlaps with <gcc>:  - <gc>: Toggle comment  - <gcc>: Toggle comment line- OK Overlapping keymaps are only reported for informational purposes.  This doesn't necessarily mean there is a problem with your config.Checking for duplicate mappings ~- OK No duplicate mappings found

Log

Debug Started for v3.17.0{  branch = "main",  commit = "370ec46f710e058c9c1646273e6b225acf47cbed"}new Mode(n:1)Trigger(add) Mode(n:1) " ' ` z= g` g' <C-W> z [ ] gon_key: jon_key: jon_key: jon_key: jon_key: VModeChanged(n:V)  new Mode(x:1)  Safe(true)  State(start): Mode(x:0) Node() { defer = true }    update Mode(x:1)    continue:  Mode(x:1)    getchar    Trigger(add) Mode(x:1) " <C-W> z ] g [    on_key: j    got: j    suspend: Mode(x:1)    Trigger(del) Mode(x:1) " <C-W> z ] g [    feedkeys: Mode(x:1) jon_key: jTrigger(add) Mode(x:1) " <C-W> z ] g [on_key: jon_key: kon_key: kon_key: <Esc>ModeChanged(V:n)  Safe(true)on_key: :ModeChanged(n:c)  new Mode(c:1)  Safe(true)Trigger(add) Mode(c:1) <C-R>on_key: qon_key: <CR>ModeChanged(c:n)  Unsafe(command-mode)  suspend: Mode(n:1)  Trigger(del) Mode(n:1) ` z= g` g' <C-W> z [ ] g " 'Trigger(add) Mode(n:1) " ' ` z= g` g' <C-W> z [ ] g

Repro

vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()require("lazy.minit").repro({spec= {    {"folke/which-key.nvim",opts= {} },-- add any other plugins here  },})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp