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

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

105 active golfers, 331 entries

Solutions by @AyayaMoh:
16
#49 - moh ayaya / @AyayaMoh

09/23/2023 at 04:27PM

17
#>56 - moh ayaya / @AyayaMoh

09/23/2023 at 04:26PM

18
#>71 - moh ayaya / @AyayaMoh

09/23/2023 at 04:24PM

19
#>78 - moh ayaya / @AyayaMoh

09/23/2023 at 04:23PM

21
#>86 - moh ayaya / @AyayaMoh

09/23/2023 at 04:21PM

22
#>88 - moh ayaya / @AyayaMoh

09/23/2023 at 04:20PM