In case you are using urxvt, this is possible by defining keymappings
for urxvt that map to keys that can be bound for tmux. For example, to
map Mod4-j to move to the next pane, define a mapping from Mod4-j to
M-j for urxvt in .Xdefaults as follows:

URxvt.keysym.Mod4-j:\033j

Then, in tmux.conf map M-j to the right command:

bind -n M-j select-pane -t:.+

Mod4-j can now be used to switch to the next pane :)

Regards,
Ton

On Thu, May 12, 2011 at 12:09 AM, Randy Stauner
<ra...@magnificent-tears.com> wrote:
> I have wondered about this myself,
> in screen I actually had multiple alternate tables / secondary prefix keys.
> For the windows-above-10 case you described you can use "command-prompt" to
> achieve a similar result,
> but you additionally have to press Enter (for example "prefix, Alt+1, 2,
> Enter" would select #12)
> bind M-1 command-prompt -p "index above 10:" "select-window -t 1%%"
> There might be some additional trickery you could do with source-file or
> run-shell
> and bind-key and unbind-key (as Dave Disser recently showed us)
> but that command-prompt is probably the simplest/most straight forward
> option currently.
> On Wed, May 11, 2011 at 2:24 PM, Robin Lee Powell
> <rlpow...@digitalkingdom.org> wrote:
>>
>> Like many people, I have bindings in screen so "META - 1" takes me
>> to window 11.  I rely on this pretty heavily, it's very much in
>> muscle memory, and would love to have an equivalent in tmux.  Does
>> such a facility for two-character commands exist?
>>
>> Thanks.
>>
>> -Robin
>>
>> --
>> http://singinst.org/ :  Our last, best hope for a fantastic future.
>> Lojban (http://www.lojban.org/): The language in which "this parrot
>> is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
>> is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/
>>
>>
>> ------------------------------------------------------------------------------
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> tmux-users mailing list
>> tmux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to