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):
18
#61 - Cristian / @cris_perez_b

07/17/2017 at 05:22PM

18
#62 - Rowan Tree / @RowanTr88447528

07/20/2017 at 06:24AM

18
#63 - Jonathan Eidsness / @jonathaneidsnes

07/24/2017 at 09:02PM

18
#64 - LR / @TextsFromChaCha

07/25/2017 at 07:30AM

18
#65 - Jorge / @jherreso

07/26/2017 at 06:46AM

18
#66 - Johan Bleuzen / @jBleuzen

07/28/2017 at 12:37PM

18
#67 - SirVimGolf / @SirVimGolf

08/23/2017 at 11:48PM

18
#68 - Ben Hill / @KaizenSoze70

09/19/2017 at 06:07PM

18
#69 - garry quested / @GQuested

09/28/2017 at 10:26AM

18
#70 - Martin Pedersen / @M4R7iNP

12/29/2017 at 03:30PM

18
#71 - mevmev / @mevmev8

09/20/2021 at 04:57PM

19
#72 - Jan Bundesmann / @janbundesmann

07/17/2017 at 07:56AM

19
#73 - Gurukandhamoorthi / @Gurukandhamoor1

07/17/2017 at 05:11PM

19
#74 - Anne Pacalet / @_Anne_P

07/18/2017 at 02:34PM

19
#75 - Agung Tiso Sorlawan / @Tisorlawan

07/18/2017 at 05:15PM

19
#76 - Brian Hall / @_bruab_

07/19/2017 at 03:34PM

19
#77 - Etienne Dilocker / @etiennedi

07/20/2017 at 08:01PM

19
#78 - Alphonse Mariya / @alfunx

01/13/2018 at 02:10PM

20
#79 - Louis Caruana / @louiecaruana

07/16/2017 at 10:06PM

20
#80 - Ewoud Smeur / @Ewoud90

07/25/2017 at 10:02AM

20
#81 - Geoff / @RealGeoffErwin

10/06/2017 at 04:01PM

20
#82 - Andrei Gasparovici / @agasparovici

12/02/2017 at 12:24PM

20
#83 - vimmac / @vimmac13823

06/14/2023 at 01:56AM

21
#84 - Cristian Lupașcu / @clupasq

07/17/2017 at 07:09AM

21
#85 - Sinthorion / @sinthorion

08/02/2017 at 05:32PM

21
#86 - jirgn / @jirgn

09/24/2017 at 07:29PM

22
#87 - Lory / @Lory46845742

11/22/2019 at 02:57PM

22
#88 - marten / @_m4r73n

09/12/2023 at 08:42PM

23
#89 - Graham Bates / @gigabates

09/17/2017 at 10:39PM

23
#90 - Laurent Atlan / @laurentatlan1

04/13/2019 at 11:09PM