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 16 remaining solutions by signing in and submitting your own entry
#17 Konrad / zichul - Score: 78 - 03/08/14 @ 17:47
:s/[,.]//g<CR>qq:for i in [14,9,,<BS>13,12]<CR>normal e99a <C-V><Esc>b@=i<C-V><CR>ldw<CR>endfo<CR>f r<CR>q8@qZZ

0 comments

#18 William Snyders / iam2391212 - Score: 79 - 03/04/14 @ 21:32
:s/[,.]//g<CR>qa5f r<CR>q7@av$r v$hyu:%s/ /<C-R>"/g<CR>ke3lqavwhxkqu0qqe3l9j9@aqj@qj@q2j@qZZ

0 comments

#19 Paul Jay / PaulJay91 - Score: 82 - 03/14/14 @ 09:43
:s/[,.]//g<CR>qc5f r<CR>q7@c:%s/ /             /g<CR>qudw<Up>qu14<Right>qr9@u9<Down>q9<Right>@r9<Down>13<Right>@r9<Down>12<Right>@rZZ

0 comments

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

20 active golfers, 43 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

43
#3 - Kerson Hsiao / KersonHsiao

03/06/2014 at 01:25AM

56
#4 - oliver mueller / marcontwit

03/11/2014 at 06:52AM

56
#5 - Jon Krause / jkrause314

02/09/2016 at 09:27PM

57
#6 - MP / Enemy_m

03/05/2014 at 12:13AM

57
#7 - Brian Olpin / bolpin

03/23/2014 at 04:17PM

57
#8 - Carlos A Henríquez Q / lagunex

03/01/2015 at 02:41PM

59
#9 - Markus Kasper / KasperBox

05/22/2014 at 03:30PM

65
#10 - Eric Kever / codeoverlode

09/30/2014 at 12:17AM

68
#11 - Ram Tamtam / ramtamtamtam

07/02/2014 at 02:10PM

69
#12 - Marcin Cabaj / marcincabaj

03/04/2014 at 09:46PM

69
#13 - Marchand Paul-Valère / pvmarch

03/05/2014 at 08:44AM

71
#14 - Jake Eskel / JakeEskel

01/07/2015 at 03:28AM

76
#15 - Quota / Quotad

03/04/2014 at 03:53PM

77
#16 - Thomas GUILLORY / thomasguillory

03/04/2014 at 07:55PM

78
#17 - Konrad / zichul

03/08/2014 at 05:47PM

79
#18 - William Snyders / iam2391212

03/04/2014 at 09:32PM

82
#19 - Paul Jay / PaulJay91

03/14/2014 at 09:43AM

88
#20 - RobertT / techrt2050

03/12/2014 at 04:39AM