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

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

114 active golfers, 421 entries

Solutions by @fergvimgolf:
17
#18 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:51AM

19
#>63 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:51AM

22
#>78 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:48AM

28
#>88 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:47AM

30
#>93 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:46AM

33
#>100 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:43AM

50
#>109 - Ferdev vimgolf / @fergvimgolf

08/11/2015 at 08:38AM