Allow mapping multiple keys to single action.
This commit is contained in:
committed by
Kiyan Yazdani
parent
caf238d908
commit
0d8b22c1e9
@@ -45,7 +45,7 @@ end
|
||||
function M.get_bindings()
|
||||
local keybindings = vim.g.lua_tree_bindings or {}
|
||||
return {
|
||||
edit = keybindings.edit or '<CR>',
|
||||
edit = keybindings.edit or {'<CR>', 'o'},
|
||||
edit_vsplit = keybindings.edit_vsplit or '<C-v>',
|
||||
edit_split = keybindings.edit_split or '<C-x>',
|
||||
edit_tab = keybindings.edit_tab or '<C-t>',
|
||||
|
||||
Reference in New Issue
Block a user