Allow mapping multiple keys to single action.

This commit is contained in:
Kristijan Husak
2020-08-03 18:51:32 +02:00
committed by Kiyan Yazdani
parent caf238d908
commit 0d8b22c1e9
4 changed files with 16 additions and 6 deletions

View File

@@ -192,7 +192,7 @@ you can change default keybindings by defining this variable.
default keybindings will be applied to undefined keys.
>
let g:lua_tree_bindings = {
\ edit: '<cr>',
\ edit: ['<cr>', 'o'], // Multiple keys provided via list
\ edit_vsplit: '<c-v>',
\ edit_split: '<c-x>',
\ edit_tab: '<c-t>',