mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add copy-pipe mode command to copy selection and also pipe to a command.
This commit is contained in:
		@@ -138,9 +138,12 @@ cmd_list_keys_table(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
			mode = "c";
 | 
			
		||||
		cmdstr = mode_key_tostring(mtab->cmdstr, mbind->cmd);
 | 
			
		||||
		if (cmdstr != NULL) {
 | 
			
		||||
			ctx->print(ctx, "bind-key -%st %s%s %*s %s",
 | 
			
		||||
			ctx->print(ctx, "bind-key -%st %s%s %*s %s%s%s%s",
 | 
			
		||||
			    mode, any_mode && *mode == '\0' ? " " : "",
 | 
			
		||||
			    mtab->name, (int) width, key, cmdstr);
 | 
			
		||||
			    mtab->name, (int) width, key, cmdstr,
 | 
			
		||||
			    mbind->arg != NULL ? " \"" : "",
 | 
			
		||||
			    mbind->arg != NULL ? mbind->arg : "",
 | 
			
		||||
			    mbind->arg != NULL ? "\"": "");
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user