mirror of
https://github.com/tmux/tmux.git
synced 2025-04-03 06:18: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);
|
mode_tree_build(mtd);
|
||||||
break;
|
break;
|
||||||
case KEYC_LEFT:
|
case KEYC_LEFT:
|
||||||
|
case 'h':
|
||||||
case '-':
|
case '-':
|
||||||
if (line->flat || !current->expanded)
|
if (line->flat || !current->expanded)
|
||||||
current = current->parent;
|
current = current->parent;
|
||||||
@ -860,6 +861,7 @@ mode_tree_key(struct mode_tree_data *mtd, struct client *c, key_code *key,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case KEYC_RIGHT:
|
case KEYC_RIGHT:
|
||||||
|
case 'l':
|
||||||
case '+':
|
case '+':
|
||||||
if (line->flat || current->expanded)
|
if (line->flat || current->expanded)
|
||||||
mode_tree_down(mtd, 0);
|
mode_tree_down(mtd, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user