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 20 remaining solutions by signing in and submitting your own entry
#21 Miki Tebeka / tebeka - Score: 24 - 07/17/17 @ 06:19
13|<C-V>6ljjjd<C-V>jjjr|yypVr-ZZ

0 comments

#22 Paul Inc / hiniol1982 - Score: 24 - 07/17/17 @ 19:47
fQh<C-V>3j7hdh<C-V>3jI|<Esc>yypVr-ZZ

0 comments

#23 Christian Panadero / PaNaVTEC - Score: 29 - 07/16/17 @ 17:57
12<Right><C-V><Down><Down><Down>x8......<C-V><Down><Down><Down>r|yypVr-ZZ

0 comments

#24 黒澤亮二 / rjkuro - Score: 30 - 07/18/17 @ 13:03
12l<C-V>3jr|yypVr-12lkl<C-V>4j5lld:wq<CR>

0 comments

#25 tboyce / timmboyce - Score: 33 - 07/16/17 @ 20:16
12l<C-V>jjjx8......<Esc><C-V>jjjr|yypVr-<Esc>:wq<CR>

0 comments

Created by: PaNaVTEC

25 active golfers, 55 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 / Gabriel_HSiq

07/20/2017 at 04:55PM

17
#7 - Jacob Buete / JBuete

07/17/2017 at 05:08AM

17
#8 - Saki Gw / Sakigw

07/17/2017 at 02:46PM

18
#9 - AleksandarTrifunovic / akstrfn

07/16/2017 at 07:47PM

18
#10 - tPenguinLTG / tpenguinltg

07/16/2017 at 07:55PM

18
#11 - Cristian / cris_perez_b

07/17/2017 at 05:22PM

18
#12 - Rowan Tree / RowanTr88447528

07/20/2017 at 06:24AM

19
#13 - Jan Bundesmann / ixjab

07/17/2017 at 07:56AM

19
#14 - Gurukandhamoorthi / Gurukandhamoor1

07/17/2017 at 05:11PM

19
#15 - Anne Pacalet / _Anne_P

07/18/2017 at 02:34PM

19
#16 - Agung Tiso Sorlawan / Tisorlawan

07/18/2017 at 05:15PM

19
#17 - Brian Hall / _bruab_

07/19/2017 at 03:34PM

19
#18 - Etienne Dilocker / etiennedi

07/20/2017 at 08:01PM

20
#19 - Louis Caruana / louiecaruana

07/16/2017 at 10:06PM

21
#20 - Cristian Lupașcu / clupasq

07/17/2017 at 07:09AM

24
#21 - Miki Tebeka / tebeka

07/17/2017 at 06:19AM

24
#22 - Paul Inc / hiniol1982

07/17/2017 at 07:47PM

29
#23 - Christian Panadero / PaNaVTEC

07/16/2017 at 05:57PM

30
#24 - 黒澤亮二 / rjkuro

07/18/2017 at 01:03PM

33
#25 - tboyce / timmboyce

07/16/2017 at 08:16PM