You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When V 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
Open a file and navigate to a line with text
Press V, linewise visual mode is not activated
Press any other key, linewise visual mode is activated
Expected Behavior
Linewise visual mode is activated when pressing V
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 reported
checking 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 [ ] g
on_key: j
on_key: j
on_key: j
on_key: j
on_key: V
ModeChanged(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) j
on_key: j
Trigger(add) Mode(x:1) " <C-W> z ] g [
on_key: j
on_key: k
on_key: k
on_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: q
on_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
},
})
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0 Build type: Release LuaJIT 2.1.1741730670
Operating system/version
Nixos 25.05
Describe the bug
When
Vis pressed linewise visual mode is not immediately activated, instead it does not change until another key is pressedSimilar to #898 but the line is highlighted immediately
2025-05-21.12-33-51.mp4
Steps To Reproduce
V, linewise visual mode is not activatedExpected Behavior
Linewise visual mode is activated when pressing
VHealth
Log
Repro