mirror of
https://github.com/tmux/tmux.git
synced 2024-12-12 17:38:48 +00:00
h/l keys for expand and collapse.
This commit is contained in:
parent
8dd776106d
commit
78ae4ee82c
@ -848,6 +848,7 @@ mode_tree_key(struct mode_tree_data *mtd, struct client *c, key_code *key,
|
||||
mode_tree_build(mtd);
|
||||
break;
|
||||
case KEYC_LEFT:
|
||||
case 'h':
|
||||
case '-':
|
||||
if (line->flat || !current->expanded)
|
||||
current = current->parent;
|
||||
@ -860,6 +861,7 @@ mode_tree_key(struct mode_tree_data *mtd, struct client *c, key_code *key,
|
||||
}
|
||||
break;
|
||||
case KEYC_RIGHT:
|
||||
case 'l':
|
||||
case '+':
|
||||
if (line->flat || current->expanded)
|
||||
mode_tree_down(mtd, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user