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

@@ -47,7 +47,7 @@ let g:lua_tree_show_icons = {
" You don't have to define all keys.
" NOTE: the 'edit' key will wrap/unwrap a folder and open a file
let g:lua_tree_bindings = {
\ 'edit': '<CR>',
\ 'edit': ['<CR>', 'o'],
\ 'edit_vsplit': '<C-v>',
\ 'edit_split': '<C-x>',
\ 'edit_tab': '<C-t>',