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 49 remaining solutions by signing in and submitting your own entry
#50 Sinthorion / sinthorion - Score: 21 - 08/02/17 @ 17:32
13|<C-V>7<Right>3<Down>c|<Esc>+23i-<Esc>r<CR>ZZ

0 comments

#51 jirgn / jirgn - Score: 21 - 09/24/17 @ 19:29
tQ<C-V>3jgEllc| <Esc>Ypv$r-ZZ

0 comments

#52 Graham Bates / gigabates - Score: 23 - 09/17/17 @ 22:39
12lc8l|<Esc>j.j.j.{yypVr-ZZ

0 comments

#53 Miki Tebeka / tebeka - Score: 24 - 07/17/17 @ 06:19
13|<C-V>6ljjjd<C-V>jjjr|yypVr-ZZ

0 comments

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

0 comments

#55 Julian Felix / h4wked - Score: 26 - 07/27/17 @ 09:30
<C-V>GelA|<Esc>o-<Esc>x30pkbh<C-V>4jbllxZZ

0 comments

#56 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

#57 Ryan Coopersmith / RyanCoopersmit1 - Score: 29 - 08/12/17 @ 13:46
<C-V>GelA|<Esc>o<Esc>i-<Esc>29.kF|l<C-V>5j9lhhdZZ

0 comments

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

0 comments

#59 Eric Potter / pottereric - Score: 30 - 07/24/17 @ 21:06
13l7xj.j.j.hr|k.k.k.o<Esc>i-<Esc>21.ZZ

0 comments

#60 Marcin Paliwoda / eukaliptuss - Score: 31 - 08/25/17 @ 14:18
12l<C-V>3jr|2lqqd7ljq3@qggyypv$r-ZZ

0 comments

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

0 comments

#62 brandon salmon / Exiledz - Score: 35 - 07/23/17 @ 08:00
o<Esc>22i-<Esc>:%s/       //<CR>12lr|k.k.kk.ZZ

0 comments

Created by: PaNaVTEC

62 active golfers, 162 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

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 - Vim Girl / vim_girl

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 - Daniel / 0x9ABC

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

17
#27 - Jacob Buete / JBuete

07/17/2017 at 05:08AM

17
#28 - Saki Gw / Sakigw

07/17/2017 at 02:46PM

18
#29 - AleksandarTrifunovic / akstrfn

07/16/2017 at 07:47PM

18
#30 - tPenguinLTG / tpenguinltg

07/16/2017 at 07:55PM

18
#31 - Cristian / cris_perez_b

07/17/2017 at 05:22PM

18
#32 - Rowan Tree / RowanTr88447528

07/20/2017 at 06:24AM

18
#33 - Jonathan Eidsness / jonathaneidsnes

07/24/2017 at 09:02PM

18
#34 - LR / TextsFromChaCha

07/25/2017 at 07:30AM

18
#35 - Jorge / jherreso

07/26/2017 at 06:46AM

18
#36 - Johan Bleuzen / jBleuzen

07/28/2017 at 12:37PM

18
#37 - SirVimGolf / SirVimGolf

08/23/2017 at 11:48PM

18
#38 - Ben Hill / KaizenSoze70

09/19/2017 at 06:07PM

18
#39 - garry quested / GQuested

09/28/2017 at 10:26AM

19
#40 - Jan Bundesmann / ixjab

07/17/2017 at 07:56AM

19
#41 - Gurukandhamoorthi / Gurukandhamoor1

07/17/2017 at 05:11PM

19
#42 - Anne Pacalet / _Anne_P

07/18/2017 at 02:34PM

19
#43 - Agung Tiso Sorlawan / Tisorlawan

07/18/2017 at 05:15PM

19
#44 - Brian Hall / _bruab_

07/19/2017 at 03:34PM

19
#45 - Etienne Dilocker / etiennedi

07/20/2017 at 08:01PM

20
#46 - Louis Caruana / louiecaruana

07/16/2017 at 10:06PM

20
#47 - Ewoud Smeur / Ewoud90

07/25/2017 at 10:02AM

20
#48 - Jeff / RealJeffIrwin

10/06/2017 at 04:01PM

21
#49 - Cristian Lupașcu / clupasq

07/17/2017 at 07:09AM

21
#50 - Sinthorion / sinthorion

08/02/2017 at 05:32PM

21
#51 - jirgn / jirgn

09/24/2017 at 07:29PM

23
#52 - Graham Bates / gigabates

09/17/2017 at 10:39PM

24
#53 - Miki Tebeka / tebeka

07/17/2017 at 06:19AM

24
#54 - Paul Inc / hiniol1982

07/17/2017 at 07:47PM

26
#55 - Julian Felix / h4wked

07/27/2017 at 09:30AM

29
#56 - Christian Panadero / PaNaVTEC

07/16/2017 at 05:57PM

29
#57 - Ryan Coopersmith / RyanCoopersmit1

08/12/2017 at 01:46PM

30
#58 - 黒澤亮二 / rjkuro

07/18/2017 at 01:03PM

30
#59 - Eric Potter / pottereric

07/24/2017 at 09:06PM

31
#60 - Marcin Paliwoda / eukaliptuss

08/25/2017 at 02:18PM

33
#61 - tboyce / timmboyce

07/16/2017 at 08:16PM

35
#62 - brandon salmon / Exiledz

07/23/2017 at 08:00AM