Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 55771cc4750ef86573003b83

Line 'em up!

It can be so hard to keep everything neatly lined-up. Somebody clearly hasn't bothered here. Tidy it up, please!

Start file
foo {
    a   => "a",
    bc  => "bc",
    def => "def",
    ghij => "ghij",
    k => "k",
    lmn => "lmn",
    opqrst => "opqrst",
    uvw => "uvw",
    xyz => "xyz",
}
End file
foo {
    a       => "a",
    bc      => "bc",
    def     => "def",
    ghij    => "ghij",
    k       => "k",
    lmn     => "lmn",
    opqrst  => "opqrst",
    uvw     => "uvw",
    xyz     => "xyz",
}

View Diff

2,10c2,10
<     a   => "a",
<     bc  => "bc",
<     def => "def",
<     ghij => "ghij",
<     k => "k",
<     lmn => "lmn",
<     opqrst => "opqrst",
<     uvw => "uvw",
<     xyz => "xyz",
---
>     a       => "a",
>     bc      => "bc",
>     def     => "def",
>     ghij    => "ghij",
>     k       => "k",
>     lmn     => "lmn",
>     opqrst  => "opqrst",
>     uvw     => "uvw",
>     xyz     => "xyz",

Solutions by @shinyvimgolf:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @oneandoneis2

110 active golfers, 392 entries

Solutions by @shinyvimgolf:
17
#10 - Reese Wilson / @shinyvimgolf

06/12/2015 at 06:24AM

21
#>68 - Reese Wilson / @shinyvimgolf

06/12/2015 at 06:20AM

25
#>80 - Reese Wilson / @shinyvimgolf

06/12/2015 at 06:14AM

32
#>93 - Reese Wilson / @shinyvimgolf

06/12/2015 at 06:11AM

38
#>103 - Reese Wilson / @shinyvimgolf

06/12/2015 at 06:09AM