Set nowait on mappings to avoid timeout for conflicting mappings. (#375)
This commit is contained in:
@@ -132,7 +132,7 @@ function M.setup()
|
|||||||
vim.g.nvim_tree_bindings or {}
|
vim.g.nvim_tree_bindings or {}
|
||||||
)
|
)
|
||||||
for key, cb in pairs(M.View.bindings) do
|
for key, cb in pairs(M.View.bindings) do
|
||||||
a.nvim_buf_set_keymap(M.View.bufnr, 'n', key, cb, { noremap = true, silent = true })
|
a.nvim_buf_set_keymap(M.View.bufnr, 'n', key, cb, { noremap = true, silent = true, nowait = true })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user