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

692 active golfers, 3444 entries

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

12/03/2018 at 06:23PM

21
#>210 - Mihai / @mihaicristiant

12/03/2018 at 06:22PM

22
#>220 - Mihai / @mihaicristiant

12/03/2018 at 06:21PM

23
#>227 - Mihai / @mihaicristiant

12/03/2018 at 06:20PM

24
#>232 - Mihai / @mihaicristiant

12/03/2018 at 03:46PM

25
#>243 - Mihai / @mihaicristiant

12/03/2018 at 03:36PM

26
#>270 - Mihai / @mihaicristiant

12/03/2018 at 03:34PM

27
#>291 - Mihai / @mihaicristiant

12/03/2018 at 03:32PM

28
#>328 - Mihai / @mihaicristiant

12/03/2018 at 03:19PM

28
#>328 - Mihai / @mihaicristiant

12/03/2018 at 03:31PM

29
#>347 - Mihai / @mihaicristiant

12/03/2018 at 03:17PM

29
#>347 - Mihai / @mihaicristiant

12/03/2018 at 03:25PM

30
#>378 - Mihai / @mihaicristiant

12/03/2018 at 03:13PM

129
#>691 - Mihai / @mihaicristiant

12/03/2018 at 03:12PM