Hi

I could have sworn someone had done this before but I guess if it was
done it was never committed.

Anyway you could do something like:

bind h splitw -dvl7 'exec htop'\; swapw -U



On Tue, Sep 04, 2012 at 04:42:23PM +0200, J??r??mie Roquet wrote:
> Hi everyone,
> 
> I have the following in my .tmux.conf:
> 
> bind-key h split-window -v -l 7 -d "exec htop"
> 
> ??? so that when I press the h key, I get a new pane with htop running in it.
> 
> Right now, the new pane appears below the active pane, but I'd prefer
> it to appear above instead.
> 
> Is there a way to tell tmux which pane must be on top when using
> split-window? Or does anyone see a workaround for this?
> 
> Thanks in advance,
> 
> PS: BTW, as it's my first message on this mailing-list, I'd like to
> thank everyone who has contributed to tmux, because it's really a
> great piece of software.
> 
> -- 
> J??r??mie
> 
> ------------------------------------------------------------------------------
> 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