Er by which I mean as if you had done eg

$ tmux new
C-b "
C-b %

So that would translate to in .tmux.conf:

new
splitw
splitw -h


On Wed, Apr 27, 2011 at 10:34:45PM +0100, Nicholas Marriott wrote:
> Not really very clear what you want to do but try eg
> 
> new -d 'command1'
> splitw -v 'command2'
> 
> I find it is best to think of stuff you put in .tmux.conf (after the
> first "new -d") as if you had done them yourself.
> 
> 
> On Wed, Apr 27, 2011 at 09:17:10PM +0000, Paul Hirose wrote:
> > In short, the split-window -v 'CMD' will execute CMD in the bottom pane, 
> > the upper bash.  Is there a way to specify a command for the upper pane as 
> > well.  Also, can I get CMD to execute in the upper pane instead?  I can 
> > build my list of panes, but it's a bit confusing to think "bottom up".
> > 
> > The only lines (just for testing) in my tmux.test file is 
> > ===
> > new-session -d 
> > split-window -v -l 5 'ssh user@targethost'
> > ===
> > 
> > And I run tmux -f tmux.test attach.  I'd like to run "ssh user@targethost2" 
> > in the other pane.
> > 
> > Thank you,
> > PH
> > =
> > Paul Hirose
> > 
> > ------------------------------------------------------------------------------
> > WhatsUp Gold - Download Free Network Management Software
> > The most intuitive, comprehensive, and cost-effective network 
> > management toolset available today.  Delivers lowest initial 
> > acquisition cost and overall TCO of any competing solution.
> > http://p.sf.net/sfu/whatsupgold-sd
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to