Open Frederick888 opened 1 year ago
NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3
local Hydra = require('hydra') Hydra({ name = 'Split movements', mode = 'n', body = '<C-w>', config = { hint = { type = 'statusline', }, timeout = 250, }, heads = { { 'h', [[<cmd>try | wincmd h | catch /^Vim\%((\a\+)\)\=:E11:/ | close | endtry<CR>]] }, { 'j', [[<cmd>try | wincmd j | catch /^Vim\%((\a\+)\)\=:E11:/ | close | endtry<CR>]] }, { 'k', [[<cmd>try | wincmd k | catch /^Vim\%((\a\+)\)\=:E11:/ | close | endtry<CR>]] }, { 'l', [[<cmd>try | wincmd l | catch /^Vim\%((\a\+)\)\=:E11:/ | close | endtry<CR>]] }, }, })
C-w s
C-w j/k
Expected: The status line goes away after timeout
Actual: The status line is stuck
Rolled back to d00274f and it works as expected.
Neovim version
Configuration
Steps to reproduce
C-w s
to open a splitC-w j/k
to jump between splitsExpected: The status line goes away after timeout
Actual: The status line is stuck
Rolled back to d00274f and it works as expected.