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 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{" selects the nearest {...} block to the cursor.  You can see the
effect if you type "va{".

Lord knows, anything that annoys my Visual Studio colleagues is all right with me.

Leaning over their shoulders while they're coding and saying "you could
do that in three lines with Perl" often does the trick.  Or you could
watch them for a while and then say "Oh, you use the cursor keys when
editing. How ... quaint."

Giggling every time you walk past them works too.


Reply via email to