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 524e1a20b81fe50002000008

attr_aligner

Two attr keywords. Two separate indentations. Align the colons.

Start file
attr_reader :align, :variables, :with
attr_accessor :spaces, :to, :complete, :challenge
# vim: set expandtab:
End file
attr_reader :align,
            :variables,
            :with
attr_accessor :spaces,
              :to,
              :complete,
              :challenge
# vim: set expandtab:

View Diff

1,2c1,7
< attr_reader :align, :variables, :with
< attr_accessor :spaces, :to, :complete, :challenge
---
> attr_reader :align,
>             :variables,
>             :with
> attr_accessor :spaces,
>               :to,
>               :complete,
>               :challenge

Solutions by @mihaicristiant:

Unlock 14 remaining solutions by signing in and submitting your own entry
Created by: @udioica

702 active golfers, 3520 entries

Solutions by @mihaicristiant:
20
#187 - Mihai / @mihaicristiant

12/03/2018 at 06:23PM

21
#>214 - Mihai / @mihaicristiant

12/03/2018 at 06:22PM

22
#>224 - Mihai / @mihaicristiant

12/03/2018 at 06:21PM

23
#>231 - Mihai / @mihaicristiant

12/03/2018 at 06:20PM

24
#>236 - Mihai / @mihaicristiant

12/03/2018 at 03:46PM

25
#>247 - Mihai / @mihaicristiant

12/03/2018 at 03:36PM

26
#>274 - Mihai / @mihaicristiant

12/03/2018 at 03:34PM

27
#>296 - Mihai / @mihaicristiant

12/03/2018 at 03:32PM

28
#>333 - Mihai / @mihaicristiant

12/03/2018 at 03:19PM

28
#>333 - Mihai / @mihaicristiant

12/03/2018 at 03:31PM

29
#>352 - Mihai / @mihaicristiant

12/03/2018 at 03:17PM

29
#>352 - Mihai / @mihaicristiant

12/03/2018 at 03:25PM

30
#>383 - Mihai / @mihaicristiant

12/03/2018 at 03:13PM

129
#>701 - Mihai / @mihaicristiant

12/03/2018 at 03:12PM