Use copy-mode then send-keys

-------- Original message --------
From: Marcelo MontĂș <marcmo...@yahoo.com.br> 
Date: 23/05/2014  18:16  (GMT+00:00) 
To: tmux-users@lists.sourceforge.net 
Subject: How to perform a copy-mode search from a normal binding 
 
Hi,

I'm trying to create a normal binding to the copy-mode search. Instead of 
typing `prefix [` then `?`, I would like to press a single key to do this.
My first thought was Ctrl-/, but it seems that tmux doesnt' allow mapping this 
key. So I've been trying to map <F12>, but none of the following works:

bind -n F12 copy-mode ?
bind -n F12 copy-mode \; ?
bind -n F12 copy-mode \; search-backward
bind -n F12 copy-mode \; vi copy search-backward
bind -n F12 vi copy search-backward

Any ideas on how to set this bind?

Regards,
mMontu
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to