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

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

702 active golfers, 3520 entries

Solutions by @yaru_car:
20
#189 - YaruCar / @yaru_car

05/17/2019 at 04:40AM

21
#>214 - YaruCar / @yaru_car

05/17/2019 at 04:38AM

22
#>224 - YaruCar / @yaru_car

05/10/2019 at 12:20AM

22
#>224 - YaruCar / @yaru_car

05/17/2019 at 04:35AM

23
#>231 - YaruCar / @yaru_car

05/10/2019 at 12:16AM

24
#>236 - YaruCar / @yaru_car

05/09/2019 at 08:40AM

25
#>248 - YaruCar / @yaru_car

05/09/2019 at 08:37AM

26
#>274 - YaruCar / @yaru_car

05/09/2019 at 08:35AM

27
#>297 - YaruCar / @yaru_car

05/09/2019 at 05:43AM

27
#>297 - YaruCar / @yaru_car

05/09/2019 at 08:33AM

28
#>333 - YaruCar / @yaru_car

05/09/2019 at 05:42AM

29
#>352 - YaruCar / @yaru_car

05/09/2019 at 05:27AM

30
#>384 - YaruCar / @yaru_car

05/09/2019 at 05:22AM

31
#>445 - YaruCar / @yaru_car

05/07/2019 at 08:35AM

33
#>535 - YaruCar / @yaru_car

05/07/2019 at 08:25AM

34
#>577 - YaruCar / @yaru_car

05/07/2019 at 08:22AM

35
#>588 - YaruCar / @yaru_car

05/07/2019 at 08:17AM

49
#>672 - YaruCar / @yaru_car

05/07/2019 at 04:45AM