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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 104 remaining solutions by signing in and submitting your own entry
#105 Kitsan / @Strustle - Score: 53 - 12/16/20 @ 10:24
o<Esc>i-<Esc>22.<Esc>kFel5xx<Esc>jj7xj7xlllj7xi|<Esc>ki|<Esc>ki|<Esc>kki|<Esc>lx<Esc>:wq<CR>

0 comments


Created by: @PaNaVTEC

105 active golfers, 332 entries

Leaderboard (lowest score wins):
16
#1 - Urtica dioica / @udioica

07/16/2017 at 08:43PM

16
#2 - Smylers / @Smylers2

07/16/2017 at 09:33PM

16
#3 - John Braxler / @braxler

07/17/2017 at 01:01PM

16
#4 - Dan Simmons / @simmons_dan

07/17/2017 at 02:59PM

16
#5 - Juan Colacelli / @juancolacelli

07/17/2017 at 10:45PM

16
#6 - Gabriel Siqueira / @gabrielhsiq

07/20/2017 at 04:55PM

16
#7 - Михаил Доронин / @Boris_B_London

07/23/2017 at 09:30AM

16
#8 - Petro Тrouq / @zulolosi

07/23/2017 at 04:22PM

16
#9 - Preben Guldberg / @wielder

07/23/2017 at 10:05PM

16
#10 - huho / @huho_xu

07/25/2017 at 07:46PM

16
#11 - devoh / @devvohh

07/30/2017 at 03:35PM

16
#12 - Song Zheng / @songz

08/03/2017 at 12:48AM

16
#13 - Maricris Bonzo / @seemcat

08/03/2017 at 02:43AM

16
#14 - Plop plop / @plopplopplop6

08/07/2017 at 08:05PM

16
#15 - Cheer / @yougec

08/11/2017 at 03:40AM

16
#16 - 杨洋 / @176795444

08/13/2017 at 09:04AM

16
#17 - dadav 🥀 / @__dadav__

08/16/2017 at 05:40PM

16
#18 - micro J / @microjoint

08/18/2017 at 03:55PM

16
#19 - Sumit Agrawal / @sumitagrawal

08/18/2017 at 04:20PM

16
#20 - Terry Ding / @TerryDing77

08/23/2017 at 09:32PM

16
#21 - Philippe Brouillard / @_kurowasan

08/25/2017 at 01:21AM

16
#22 - Solomon / @Trugbildjaeger

08/28/2017 at 08:28AM

16
#23 - Darren Weston / @dazWestonUK

08/31/2017 at 01:18PM

16
#24 - Gabor Lekeny / @leki75

10/24/2017 at 02:48PM

16
#25 - Turkey Man / @lvturkeyman

11/08/2017 at 06:30PM

16
#26 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:25PM

16
#27 - 梧桐王子 / @WutongYujie

12/20/2017 at 03:45AM

16
#28 - ParasamGateZero / @ParasamGateZero

02/10/2018 at 09:44PM

16
#29 - DHM / @DHM29978992

04/28/2018 at 01:56AM

16
#30 - Daniël De Koker / @daniel_koker

07/11/2018 at 06:22AM