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

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

105 active golfers, 332 entries

Solutions by @TextsFromChaCha:
18
#64 - LR / @TextsFromChaCha

07/25/2017 at 07:30AM

24
#>93 - LR / @TextsFromChaCha

07/25/2017 at 07:26AM

28
#>95 - LR / @TextsFromChaCha

07/25/2017 at 07:22AM