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

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

703 active golfers, 3522 entries

Solutions by @skrobul:
19
#97 - skrobul / @skrobul

08/15/2015 at 10:51PM

19
#>97 - skrobul / @skrobul

08/15/2015 at 10:52PM

21
#>205 - skrobul / @skrobul

08/15/2015 at 10:50PM

22
#>221 - skrobul / @skrobul

08/15/2015 at 10:47PM

23
#>229 - skrobul / @skrobul

08/15/2015 at 10:46PM

25
#>245 - skrobul / @skrobul

08/15/2015 at 10:45PM

26
#>268 - skrobul / @skrobul

08/15/2015 at 10:43PM

27
#>294 - skrobul / @skrobul

08/15/2015 at 10:42PM

28
#>328 - skrobul / @skrobul

08/15/2015 at 10:40PM

29
#>349 - skrobul / @skrobul

08/15/2015 at 10:37PM

30
#>377 - skrobul / @skrobul

08/15/2015 at 10:36PM

31
#>430 - skrobul / @skrobul

08/15/2015 at 10:31PM

32
#>489 - skrobul / @skrobul

08/15/2015 at 10:29PM