Re: feature request: have mode-keys alter block selection behavior

2011-04-24 Thread Nicholas Marriott
Yeah I thought about this again and I think it is fine. Applied to OpenBSD, will be in SF later, thanks. On Fri, Apr 15, 2011 at 12:15:06PM -0300, Tiago Resende wrote: > On Friday, 2011-04-15, at 08:31:26 +0200, Hannes von Haugwitz wrote: > > > Since there is already a means of altering a user's

Re: feature request: have mode-keys alter block selection behavior

2011-04-17 Thread Tiago Resende
On Sunday, 2011-04-17, at 20:43:20 +0100, Nicholas Marriott wrote: > Hmm, code looks fine but we already have things that are different from > both vi and emacs and I'm not sure such a small thing is worth making > copy mode even more complicated... I'd also like to point out to my fellow vim user

Re: feature request: have mode-keys alter block selection behavior

2011-04-17 Thread Nicholas Marriott
Hmm, code looks fine but we already have things that are different from both vi and emacs and I'm not sure such a small thing is worth making copy mode even more complicated... I guess the change is small so it can't do too much harm and both vi and emacs modes do get tested. On Fri, Apr 15, 201

Re: feature request: have mode-keys alter block selection behavior

2011-04-15 Thread Tiago Resende
On Friday, 2011-04-15, at 10:44:08 -0700, Aaron Bull Schaefer wrote: > Yes, this WORKS! I tested both emacs and vi modes and this is exactly > what I was looking for. Thanks for such a quick patch! My pleasure. :) I hope you don't mind that I cc this to the list, just to let the record show. --

Re: feature request: have mode-keys alter block selection behavior

2011-04-15 Thread Tiago Resende
On Friday, 2011-04-15, at 08:31:26 +0200, Hannes von Haugwitz wrote: > > Since there is already a means of altering a user's key binding > > preference using the mode-keys option, I thought it would be a nice if > > tmux would adjust the selection behavior based on that value as well. > > I second

Re: feature request: have mode-keys alter block selection behavior

2011-04-14 Thread Hannes von Haugwitz
On Thu, Apr 14, 2011 at 04:23:16PM -0700, Aaron Bull Schaefer wrote: > When copying a block of text in copy-mode, I found it surprising that > the paste buffer did not contain the right-most character of the > selection. This is true whether the cursor is on the left side or the > right side of the