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.
I use the cursor keys quite a lot in Vim myself. But I hardly ever touch
the mouse there. So I'd suggest s/cursor keys/mouse/ :-)
Best regards,
Tony.