mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	h/l keys for expand and collapse.
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user