Re: [Patch] vi-copy word-movement improvements

2010-01-25 Thread Micah Cowan
New version of the patch. It's now split into two separate diffs, and meant to apply after your reworking of window_copy_cursor_next_word (which isn't in Sourceforge CVS yet). As you requested, I used a copy of that function, rather than introducing a flag (so the enum definition's gone, too). Apo

[Patch] status-drawing crash

2010-01-25 Thread Micah Cowan
I found a bug that can cause the status bar to crash when the window-list fills up. It only manifests when status-left is empty. The cause was a one-off in status.c. During calculation of how much space will be available to the window-list, an extra space is counted for llen when status-left has c

Re: [Patch] vi-copy word-movement improvements

2010-01-25 Thread Micah Cowan
Nicholas Marriott wrote: > Hi > > Thanks for the diff, > > I think I'd prefer to see a change to add a vi-style next-word now and the > nonspace stuff separately, if that is possible. If it is going to be too > time-consuming don't worry. I'll try and get you that tonight (PST). >> Index: mode-

Re: [Patch] Copy mode: goto-first-line and goto-last-line

2010-01-25 Thread Nicholas Marriott
Looks great, I'll test it and commit it later on. Thanks On Mon, Jan 25, 2010 at 02:46:39AM -0800, Micah Cowan wrote: > This patch introduces new commands to jump to the top and bottom of the > history, in copy mode. In both vi mode and emacs mode, they are bound to > Ctrl-Home and Ctrl-End. In

Re: [Patch] vi-copy word-movement improvements

2010-01-25 Thread Nicholas Marriott
Hi Thanks for the diff, I think I'd prefer to see a change to add a vi-style next-word now and the nonspace stuff separately, if that is possible. If it is going to be too time-consuming don't worry. > Index: mode-key.c > === > ---

Re: [Patch] Copy mode: goto-first-line and goto-last-line

2010-01-25 Thread Micah Cowan
Micah Cowan wrote: > This patch introduces new commands to jump to the top and bottom of the > history, in copy mode. In both vi mode and emacs mode, they are bound to > Ctrl-Home and Ctrl-End. In vi mode, the alternate keys g and G are also > bound, and in emacs mode, < and >. I failed to mention

[Patch] Copy mode: goto-first-line and goto-last-line

2010-01-25 Thread Micah Cowan
This patch introduces new commands to jump to the top and bottom of the history, in copy mode. In both vi mode and emacs mode, they are bound to Ctrl-Home and Ctrl-End. In vi mode, the alternate keys g and G are also bound, and in emacs mode, < and >. g, G, < and > are all used by "less" for this

Re: scrolling with terminal?

2010-01-25 Thread Nicholas Marriott
set -g terminal-overrides 'xterm*:smcup@:rmcup@' Don't expect what is in the terminal history to necessarily always make much sense though. On Sun, Jan 24, 2010 at 09:43:16PM -0800, Ari Steinberg wrote: > Hi, > I just stumbled upon tmux - it's really nice! ?So far the only thing > that I find my

scrolling with terminal?

2010-01-25 Thread Ari Steinberg
Hi, I just stumbled upon tmux - it's really nice!  So far the only thing that I find myself missing about screen is the ability to use my terminal's native scrollbar to scan up.  In screen, I am able to do this by including the line: termcapinfo xterm* ti@:te@ my my .screenrc file (as described a