Re: Motions in visual(line|block)

2006-07-16 Thread A.J.Mechelynck
Matthew Winn wrote: On Fri, Jul 14, 2006 at 06:48:57AM -0700, Scott LaBounty wrote: OK, I'll bite. What does "=a{" do? The "=" is a format, and the "{" moves to the start of a class (at least that's what is does in the ruby file I tested this on). So, what's the "a" do in this command? "a{" s

Re: Motions in visual(line|block)

2006-07-16 Thread A.J.Mechelynck
Scott LaBounty wrote: Stewart, It looked like it was supposed to do something like that, but nothing seemed to happen with my Ruby file. I'll give it a shot in a C++ file and see what happens there. I still can't figure out what the "a" is doing though. Scott [...] The "a" is the English

RE: Motions in visual(line|block)

2006-07-14 Thread Max Dyckhoff
though, things like and then a quick modification of a part of the line in question. Go vim! Max > -Original Message- > From: Karl Guertin [mailto:[EMAIL PROTECTED] > Sent: Friday, July 14, 2006 11:37 AM > To: Max Dyckhoff > Cc: vim@vim.org > Subject: Re: Motions i

Re: Motions in visual(line|block)

2006-07-14 Thread Karl Guertin
On 7/14/06, Max Dyckhoff <[EMAIL PROTECTED]> wrote: I was approached by another engineer last week and asked if I thought vim would increase his productivity. Needless to say I said yes immediately. I find that the key advantage of using vim is not necessarily the speed with which you edit, but

RE: Motions in visual(line|block)

2006-07-14 Thread Max Dyckhoff
AIL PROTECTED] > Sent: Friday, July 14, 2006 6:49 AM > To: vim@vim.org > Subject: Re: Motions in visual(line|block) > > Max, > > OK, I'll bite. What does "=a{" do? The "=" is a format, and the "{" > moves to the start of a class (at least

Re: Motions in visual(line|block)

2006-07-14 Thread Scott LaBounty
Matthew, Got it. I was just looking at motion.txt (which I should have done in the first place) and just found that section. Amazing, I've been using vi/vim for ~20 years and there's still tons of stuff to find. I like the "How ... quaint". If fact, I'm off to try it now! Scott Matthew Winn

Re: Motions in visual(line|block)

2006-07-14 Thread Matthew Winn
On Fri, Jul 14, 2006 at 06:48:57AM -0700, Scott LaBounty wrote: > OK, I'll bite. What does "=a{" do? The "=" is a format, and the "{" > moves to the start of a class (at least that's what is does in the ruby > file I tested this on). So, what's the "a" do in this command? "a{" selects the neares

Re: Motions in visual(line|block)

2006-07-14 Thread Scott LaBounty
Stewart, It looked like it was supposed to do something like that, but nothing seemed to happen with my Ruby file. I'll give it a shot in a C++ file and see what happens there. I still can't figure out what the "a" is doing though. Scott Stewart Johnson wrote: I didn't know either, but fro

Re: Motions in visual(line|block)

2006-07-14 Thread Stewart Johnson
I didn't know either, but from my testing it seems to do something like: "move to the start of the current scope and format (indent) everything in the current scope." at least that's what it seems to do for me. ;-) On 7/14/06, Scott LaBounty <[EMAIL PROTECTED]> wrote: Max, OK, I'll bite. What

Re: Motions in visual(line|block)

2006-07-14 Thread Scott LaBounty
Max, OK, I'll bite. What does "=a{" do? The "=" is a format, and the "{" moves to the start of a class (at least that's what is does in the ruby file I tested this on). So, what's the "a" do in this command? Lord knows, anything that annoys my Visual Studio colleagues is all right with me.

Re: Motions in visual(line|block)

2006-07-13 Thread Bram Moolenaar
Max Dyckhoff wrote: > I've noticed that using some motions - specifically "i{" and suchlike - > will cancel a visual line/block and turn it into regular visual mode > instead, which is rather annoying. Is this intentional, or a bug? "i{" is not a motion command but an object selection command.

Motions in visual(line|block)

2006-07-13 Thread Max Dyckhoff
I've noticed that using some motions - specifically "i{" and suchlike - will cancel a visual line/block and turn it into regular visual mode instead, which is rather annoying. Is this intentional, or a bug? I should just mention that my new favourite command is "=a{", which makes me smile every ti