On 05/07/2012 03:32 PM, Sinbad wrote:
On Mon, May 7, 2012 at 5:24 PM, Sinbad <sinbad.sin...@gmail.com <mailto:sinbad.sin...@gmail.com>> wrote:

    i'm trying to configure a bind key through a bash shell. But it is
    not working.
    here is my binding in a bash function.

       tmux bind-key b send-keys "run_command"

    how do i do that.

    cheers



when i say bash shell, i mean, from inside a bash function;

Well, this command works for me. I'm using C-m at the end to simulate enter, but otherwise it's the same as your version.

tmux bind-key b send-keys "run_command" C-m

Do you get some ouput/message at least?

-- Ivan
cheers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to