fix(switch_windows): add nowait to avoid pre-<Tab> keymap (#1028)
This commit is contained in:
parent
ec5d1abf34
commit
f7b51730df
@ -1104,13 +1104,13 @@ function Sidebar:refresh_winids()
|
|||||||
{ "n", "i" },
|
{ "n", "i" },
|
||||||
Config.mappings.sidebar.switch_windows,
|
Config.mappings.sidebar.switch_windows,
|
||||||
function() switch_windows() end,
|
function() switch_windows() end,
|
||||||
{ buffer = buf, noremap = true, silent = true }
|
{ buffer = buf, noremap = true, silent = true, nowait = true }
|
||||||
)
|
)
|
||||||
Utils.safe_keymap_set(
|
Utils.safe_keymap_set(
|
||||||
{ "n", "i" },
|
{ "n", "i" },
|
||||||
Config.mappings.sidebar.reverse_switch_windows,
|
Config.mappings.sidebar.reverse_switch_windows,
|
||||||
function() reverse_switch_windows() end,
|
function() reverse_switch_windows() end,
|
||||||
{ buffer = buf, noremap = true, silent = true }
|
{ buffer = buf, noremap = true, silent = true, nowait = true }
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user