Someone was talking about allowing two character commands which would allow you
to do this (or doing a hierarchy thing by having a command to switch to a
different prefix command table, although I don't really see a huge need for
that although it may be simpler). No sign of any code yet in either case.

I'll have a look at doing it at some point probably.


On Tue, Dec 01, 2009 at 12:29:48PM +0100, Markus Braun wrote:
> Hi,
> 
> currently I'm in the process of switching from screen to tmux. But there is
> one thing that prevents me from completely switching. In screen it is
> possible to build a hierarchy of key bindings to trigger a command. For
> example I have the following settings in my screenrc:
> 
>   bind , command -c my_hierarchy
>   bind -c my_hierarchy a screen -t 'abook' abook
>   bind -c my_hierarchy c screen -t 'calc'  calc
>   bind -c my_hierarchy v screen -t 'vim'   vim
> 
> With this setting I only change the key binding "C-a ," in screen and can
> hide all my application calls behind that.
> 
>   "C-a , a" starts abook
>   "C-a , c" starts calc
>   etc.
> 
> Is something like this possible in tmux?
> 
> Markus Braun
> 
> -- 
> Any errors in spelling, tact or fact are transmission errors
> 



> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev

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


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to