fix(switch_windows): add nowait to avoid pre-<Tab> keymap (#1028)

This commit is contained in:
2025-01-05 13:24:03 +08:00 committed by GitHub
parent ec5d1abf34
commit f7b51730df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1104,13 +1104,13 @@ function Sidebar:refresh_winids()
{ "n", "i" },
Config.mappings.sidebar.switch_windows,
function() switch_windows() end,
{ buffer = buf, noremap = true, silent = true }
{ buffer = buf, noremap = true, silent = true, nowait = true }
)
Utils.safe_keymap_set(
{ "n", "i" },
Config.mappings.sidebar.reverse_switch_windows,
function() reverse_switch_windows() end,
{ buffer = buf, noremap = true, silent = true }
{ buffer = buf, noremap = true, silent = true, nowait = true }
)
end
end