On Thu, Feb 04, 2010 at 11:12:37PM -0700, Amjidanutpan Ramanujam wrote:
>    My question is: Is there a way to assign a shortcut key to jump to a
>    pane based on pane number? 

bind-key S command-prompt "select-pane -t .%1"

will set "^b S" to ask you for a pane number (after which you have
to hit enter, unfortunately; it's on the TODO list to make something
that doesn't need that, I'm pretty sure).

bind-key S select-pane -t .2

will set "^b S" to just go straight to pane 2

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm  thinking:  "Does it even occur to you to try for something
other  than  the default  outcome?"  See http://shrunklink.com/cdiz
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to