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

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

104 active golfers, 325 entries

Solutions by @rocker_zzy:
16
#39 - RockerZZY / @rocker_zzy

06/23/2020 at 04:47AM

17
#>54 - RockerZZY / @rocker_zzy

06/23/2020 at 04:40AM

18
#>69 - RockerZZY / @rocker_zzy

06/23/2020 at 04:38AM

21
#>85 - RockerZZY / @rocker_zzy

06/23/2020 at 04:35AM

22
#>86 - RockerZZY / @rocker_zzy

06/23/2020 at 04:32AM

23
#>90 - RockerZZY / @rocker_zzy

06/23/2020 at 04:31AM