Set nowait on mappings to avoid timeout for conflicting mappings. (#375)

This commit is contained in:
Kristijan Husak
2021-05-17 22:24:47 +02:00
committed by GitHub
parent 624bec7ecd
commit 577df96b07

View File

@@ -132,7 +132,7 @@ function M.setup()
vim.g.nvim_tree_bindings or {}
)
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