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

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

702 active golfers, 3520 entries

Solutions by @Rt6RjEAJ987Woes:
20
#188 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:52AM

21
#>214 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:51AM

22
#>224 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:51AM

23
#>231 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:49AM

23
#>231 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:50AM

24
#>236 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:49AM

25
#>248 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:47AM

26
#>274 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:45AM

27
#>296 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:44AM

28
#>333 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:44AM

28
#>333 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:45AM

29
#>352 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:42AM

30
#>383 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:40AM

31
#>444 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 09:53AM

32
#>497 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 09:43AM

32
#>497 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 11:42AM

33
#>535 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 09:50AM

35
#>588 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 09:50AM

37
#>610 - 默罕默德 / @Rt6RjEAJ987Woes

02/18/2019 at 09:44AM