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 @AlexeyZhidkov:

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

114 active golfers, 421 entries

Solutions by @AlexeyZhidkov:
17
#24 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 09:04AM

18
#>47 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 09:03AM

19
#>63 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 09:03AM

20
#>67 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 09:01AM

22
#>80 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 09:01AM

26
#>84 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 09:00AM

28
#>89 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 08:59AM

31
#>96 - Aleksey Zhidkov / @AlexeyZhidkov

02/24/2016 at 08:58AM