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

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

104 active golfers, 325 entries

Solutions by @x03n046:
17
#56 - x03n046 / @x03n046

05/13/2022 at 08:07AM

18
#>70 - x03n046 / @x03n046

05/13/2022 at 08:06AM

19
#>77 - x03n046 / @x03n046

05/13/2022 at 08:03AM

19
#>77 - x03n046 / @x03n046

05/13/2022 at 08:05AM

20
#>81 - x03n046 / @x03n046

05/13/2022 at 08:03AM

21
#>85 - x03n046 / @x03n046

05/13/2022 at 08:01AM

22
#>86 - x03n046 / @x03n046

05/13/2022 at 08:00AM