Mouse issue

2011-04-28 Thread marcel partap
Hi Nicholas et al., seeing that the previous issue (excessive redraws) seems to be solved (have not tested but patch seems clear), i want to bring up another minor issue. Mouse scroll wheel events are only correctly passed if mouse-select-* is off.. while ncmpcpp can handle mouse wheel input reg

Re: bind a key to multiple commands in copy mode

2011-04-28 Thread Randy Stauner
With: bind-key Y send-keys '^' Space '$' Enter I can hit prefix + Y in copy-mode and get it to copy the line. Not an optimal solution, but an acceptable workaround. Of course now I remember that that sequence used to be repeatable (5Y to copy 5 lines)... that may be a bit trickier to recreate. It

if-shell 'tmux has-session' hangs

2011-04-28 Thread Randy Stauner
I was trying to source a conf file to create default windows, but it seems that when doing if-shell "tmux has-session -t auto" "display-message yes" tmux seems to hang on the "has-session" call if the session does not exist. I can see these in a ps: rando27867 0.0 0.0 1832 496 ?

Re: split-window -p## / -l##

2011-04-28 Thread Nicholas Marriott
It is calculated in terms of the pane you are splitting, try eg splitw -p50 twice. You could also split it like you want then get the layout from lsw and reapply it with selectl. On Wed, Apr 27, 2011 at 11:51:18PM +, Paul Hirose wrote: > How is the -p option for split-window calculated or "l

Re: bind a key to multiple commands in copy mode

2011-04-28 Thread Dave Disser
I *just* subscribed now, but I was wrestling with nearly the same problem yesterday. Here's my kludge of rebinding with unprefixed keys. Hard to follow, I know, but the gist is that when entering copy mode it rebinds y and Enter (unprefixed) to source scripts. The scripts in turn do actions and

Re: bind a key to multiple commands in copy mode

2011-04-28 Thread Randy Stauner
thanks for the idea. I definitely must applaud the effort. you've given me an idea for the 5Y option... if i ever take it any further i'll write back. On Thu, Apr 28, 2011 at 12:55 PM, Dave Disser wrote: > I *just* subscribed now, but I was wrestling with nearly the same problem > yesterday. He