mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add -Z flag to choose-tree, choose-client, choose-buffer to
automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. Add -Z to the default key bindings.
This commit is contained in:
		@@ -183,9 +183,9 @@ key_bindings_init(void)
 | 
			
		||||
		"bind 9 select-window -t:=9",
 | 
			
		||||
		"bind : command-prompt",
 | 
			
		||||
		"bind \\; last-pane",
 | 
			
		||||
		"bind = choose-buffer",
 | 
			
		||||
		"bind = choose-buffer -Z",
 | 
			
		||||
		"bind ? list-keys",
 | 
			
		||||
		"bind D choose-client",
 | 
			
		||||
		"bind D choose-client -Z",
 | 
			
		||||
		"bind E select-layout -E",
 | 
			
		||||
		"bind L switch-client -l",
 | 
			
		||||
		"bind M select-pane -M",
 | 
			
		||||
@@ -202,9 +202,9 @@ key_bindings_init(void)
 | 
			
		||||
		"bind p previous-window",
 | 
			
		||||
		"bind q display-panes",
 | 
			
		||||
		"bind r refresh-client",
 | 
			
		||||
		"bind s choose-tree -s",
 | 
			
		||||
		"bind s choose-tree -Zs",
 | 
			
		||||
		"bind t clock-mode",
 | 
			
		||||
		"bind w choose-tree -w",
 | 
			
		||||
		"bind w choose-tree -Zw",
 | 
			
		||||
		"bind x confirm-before -p\"kill-pane #P? (y/n)\" kill-pane",
 | 
			
		||||
		"bind z resize-pane -Z",
 | 
			
		||||
		"bind { swap-pane -U",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user