mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Preserve search string when entering prompt again.
This commit is contained in:
		@@ -244,8 +244,8 @@ key_bindings_init(void)
 | 
			
		||||
		"bind -Tcopy-mode C-k send -X copy-end-of-line",
 | 
			
		||||
		"bind -Tcopy-mode C-n send -X cursor-down",
 | 
			
		||||
		"bind -Tcopy-mode C-p send -X cursor-up",
 | 
			
		||||
		"bind -Tcopy-mode C-r command-prompt -ip'search up' 'send -X search-backward-incremental \"%%%\"'",
 | 
			
		||||
		"bind -Tcopy-mode C-s command-prompt -ip'search down' 'send -X search-forward-incremental \"%%%\"'",
 | 
			
		||||
		"bind -Tcopy-mode C-r command-prompt -ip'search up' -I'#{pane_search_string}' 'send -X search-backward-incremental \"%%%\"'",
 | 
			
		||||
		"bind -Tcopy-mode C-s command-prompt -ip'search down' -I'#{pane_search_string}' 'send -X search-forward-incremental \"%%%\"'",
 | 
			
		||||
		"bind -Tcopy-mode C-v send -X page-down",
 | 
			
		||||
		"bind -Tcopy-mode C-w send -X copy-selection-and-cancel",
 | 
			
		||||
		"bind -Tcopy-mode Escape send -X cancel",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user