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 596ba8373e3dd71412000004

Create a table

Convert the given input into a formatted table

Start file
Item name            Quantity
Eggs                        2
Cucumber                   20
Watermelons                 1
End file
Item name   | Quantity
----------------------
Eggs        |        2
Cucumber    |       20
Watermelons |        1

View Diff

1,4c1,5
< Item name            Quantity
< Eggs                        2
< Cucumber                   20
< Watermelons                 1
---
> Item name   | Quantity
> ----------------------
> Eggs        |        2
> Cucumber    |       20
> Watermelons |        1

Solutions by @mihaicristiant:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @PaNaVTEC

105 active golfers, 332 entries

Solutions by @mihaicristiant:
17
#54 - Mihai / @mihaicristiant

12/28/2018 at 12:06PM

18
#>70 - Mihai / @mihaicristiant

12/28/2018 at 09:54AM

18
#>70 - Mihai / @mihaicristiant

12/28/2018 at 12:05PM

19
#>78 - Mihai / @mihaicristiant

12/28/2018 at 09:54AM

21
#>86 - Mihai / @mihaicristiant

12/28/2018 at 09:54AM

23
#>89 - Mihai / @mihaicristiant

12/27/2018 at 01:28PM

26
#>95 - Mihai / @mihaicristiant

12/28/2018 at 08:31AM