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

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

702 active golfers, 3520 entries

Solutions by @Saponifi3d:
19
#124 - Josh Callender / @Saponifi3d

10/28/2016 at 05:12AM

19
#>124 - Josh Callender / @Saponifi3d

10/28/2016 at 05:12AM

19
#>124 - Josh Callender / @Saponifi3d

10/28/2016 at 05:13AM

19
#>124 - Josh Callender / @Saponifi3d

10/28/2016 at 05:15AM

21
#>209 - Josh Callender / @Saponifi3d

10/28/2016 at 05:11AM

22
#>222 - Josh Callender / @Saponifi3d

10/28/2016 at 05:11AM

23
#>230 - Josh Callender / @Saponifi3d

10/28/2016 at 05:11AM

25
#>247 - Josh Callender / @Saponifi3d

10/28/2016 at 05:10AM

26
#>270 - Josh Callender / @Saponifi3d

10/28/2016 at 05:08AM

27
#>294 - Josh Callender / @Saponifi3d

10/28/2016 at 05:07AM

28
#>329 - Josh Callender / @Saponifi3d

10/28/2016 at 05:07AM

29
#>351 - Josh Callender / @Saponifi3d

10/28/2016 at 05:06AM

30
#>380 - Josh Callender / @Saponifi3d

10/28/2016 at 05:03AM

31
#>438 - Josh Callender / @Saponifi3d

10/28/2016 at 05:01AM

32
#>494 - Josh Callender / @Saponifi3d

10/28/2016 at 05:00AM

41
#>634 - Josh Callender / @Saponifi3d

10/28/2016 at 04:57AM

55
#>685 - Josh Callender / @Saponifi3d

10/28/2016 at 04:55AM