split-window -p## / -l##

2011-04-27 Thread Paul Hirose
How is the -p option for split-window calculated or "lines" or "cells" when using the -l option? I have a gnome-terminal that is 100 columns by 69 rows using my current font. new-session -d -n 'meow' 'CMD1' split-window -h -p30 'CMD2' split-window -h -p10 'CMD3' I thought that would split my

Re: Execute command in both panes on split-window

2011-04-27 Thread Nicholas Marriott
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'

Re: Execute command in both panes on split-window

2011-04-27 Thread Nicholas Marriott
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 +, Paul Hirose wrote: > In short, the split-w

Execute command in both panes on split-window

2011-04-27 Thread Paul Hirose
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

Re: tmux errors disappear ridiculously fast

2011-04-27 Thread Nicholas Marriott
Increase display-time or use C-b ~ On Wed, Apr 27, 2011 at 03:55:48AM -0700, jake wrote: > Often I'll type a command at tmux's colon prompt and screw it up. I > see a flash of an error message. It's like it's taunting me. We both > know I did something wrong. Tmux even knows what I probably screw

tmux errors disappear ridiculously fast

2011-04-27 Thread jake
Often I'll type a command at tmux's colon prompt and screw it up. I see a flash of an error message. It's like it's taunting me. We both know I did something wrong. Tmux even knows what I probably screwed up. But tmux only wants me to know that it knows, not actually help me figure out what the @#$

Highlighting in vi copy mode

2011-04-27 Thread Raghavendra D Prabhu
Hi, I am quite used to highlighting of search items in vim and it helps quite a lot. Is it possible to have a similar thing in tmux vi-copy mode as well ? I presume the searched item will need to be highlighted with certain terminal capabilities. To illustrate, urxvt currently

Re: selection gets cleared when cursors blinks

2011-04-27 Thread LEVAI Daniel
On Wed, Apr 27, 2011 at 08:28:53 +0100, Nicholas Marriott wrote: > Doh, try this: > > Index: status.c > === > RCS file: /cvs/src/usr.bin/tmux/status.c,v > retrieving revision 1.74 > diff -u -p -r1.74 status.c > --- status.c 24 Apr 20

Re: selection gets cleared when cursors blinks

2011-04-27 Thread Nicholas Marriott
Doh, try this: Index: status.c === RCS file: /cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.74 diff -u -p -r1.74 status.c --- status.c24 Apr 2011 21:32:07 - 1.74 +++ status.c27 Apr 2011 07:28:20 - @@ -642,