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 5314fc4e6e902e00027b74d1

Five Pillars

Arrange all words in a table with 5 columns. The minimal space between words in columns is 2 spaces. Columns do have varying width.

Start file
Lorem ipsum dolor sit amet, vel euismod referrentur ei, eu vix probo consulatu dissentias. Ad possit blandit similique est, quo te habemus deserunt. Volutpat molestiae persecuti vix cu, mei invidunt deserunt at. Te equidem inermis contentiones vel. In soleat principes pri, in vocent admodum cum.
End file
Lorem         ipsum    dolor        sit         amet
vel           euismod  referrentur  ei          eu
vix           probo    consulatu    dissentias  Ad
possit        blandit  similique    est         quo
te            habemus  deserunt     Volutpat    molestiae
persecuti     vix      cu           mei         invidunt
deserunt      at       Te           equidem     inermis
contentiones  vel      In           soleat      principes
pri           in       vocent       admodum     cum

View Diff

1c1,9
< Lorem ipsum dolor sit amet, vel euismod referrentur ei, eu vix probo consulatu dissentias. Ad possit blandit similique est, quo te habemus deserunt. Volutpat molestiae persecuti vix cu, mei invidunt deserunt at. Te equidem inermis contentiones vel. In soleat principes pri, in vocent admodum cum.
---
> Lorem         ipsum    dolor        sit         amet
> vel           euismod  referrentur  ei          eu
> vix           probo    consulatu    dissentias  Ad
> possit        blandit  similique    est         quo
> te            habemus  deserunt     Volutpat    molestiae
> persecuti     vix      cu           mei         invidunt
> deserunt      at       Te           equidem     inermis
> contentiones  vel      In           soleat      principes
> pri           in       vocent       admodum     cum

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 23 remaining solutions by signing in and submitting your own entry
#24 RobertT / @techrt2050 - Score: 88 - 03/12/14 @ 04:39
:%s/[,.]//g<CR>O<Esc>57I <Esc>yy8pgg0qqmaGdw`aPGdw`a15|PGdw`a24|PGdw`a37|PGdw`a49|PD+0q8@qddAm<Esc>:wq<CR>

0 comments


Created by: @marcontwit

24 active golfers, 63 entries

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

03/06/2014 at 03:23AM

41
#2 - John Braxler / @braxler

03/13/2014 at 09:43PM

41
#3 - Peppa Pig / @PeppaPi95550250

05/28/2024 at 09:52AM

43
#4 - Kerson Hsiao / @KersonHsiao

03/06/2014 at 01:25AM

43
#5 - otfsenter / @otfsenter

06/06/2020 at 05:01PM

43
#6 - Berel94 / @Berel94

03/29/2024 at 09:12PM

56
#7 - oliver mueller / @marcontwit

03/11/2014 at 06:52AM

56
#8 - Jon Krause / @jkrause314

02/09/2016 at 09:27PM

56
#9 - maxtong / @maxtong1987

03/25/2021 at 10:16AM

57
#10 - MP / @Enemy_m

03/05/2014 at 12:13AM

57
#11 - Brian Olpin / @bolpin

03/23/2014 at 04:17PM

57
#12 - Carlos A Henríquez Q / @lagunex

03/01/2015 at 02:41PM

59
#13 - Markus Kasper / @KasperBox

05/22/2014 at 03:30PM

65
#14 - Eric Kever / @codeoverlode

09/30/2014 at 12:17AM

68
#15 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 02:10PM

69
#16 - Marcin Cabaj / @marcincabaj

03/04/2014 at 09:46PM

69
#17 - Marchand Paul-Valère / @pvmarch

03/05/2014 at 08:44AM

71
#18 - Jake Eskel / @JakeEskel

01/07/2015 at 03:28AM

76
#19 - Quota / @Quotad

03/04/2014 at 03:53PM

77
#20 - Thomas GUILLORY / @thomasguillory

03/04/2014 at 07:55PM

78
#21 - Konrad / @zichul

03/08/2014 at 05:47PM

79
#22 - William Snyders / @iam2391212

03/04/2014 at 09:32PM

82
#23 - Paul Jay / @PaulJay91

03/14/2014 at 09:43AM

88
#24 - RobertT / @techrt2050

03/12/2014 at 04:39AM