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 55054f0ac64edd79b00265ac

Interleave lines

This is some kind of « paste -d'\n' c b a ». There are many ways to achieve this.. just find the shortest!

Start file
kif_004c.jpg
p1000055.jpg
mov00843.mpg
dsc00959.jpg

1978-07-29
2004-08-22
2007-01-18
2015-03-15

OVEGU
FXNGR
QNAPR
GBQNL
End file
OVEGU
1978-07-29
kif_004c.jpg
FXNGR
2004-08-22
p1000055.jpg
QNAPR
2007-01-18
mov00843.mpg
GBQNL
2015-03-15
dsc00959.jpg

View Diff

1,10d0
< kif_004c.jpg
< p1000055.jpg
< mov00843.mpg
< dsc00959.jpg
< 
< 1978-07-29
< 2004-08-22
< 2007-01-18
< 2015-03-15
< 
11a2,3
> 1978-07-29
> kif_004c.jpg
12a5,6
> 2004-08-22
> p1000055.jpg
13a8,9
> 2007-01-18
> mov00843.mpg
14a11,12
> 2015-03-15
> dsc00959.jpg

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 40 remaining solutions by signing in and submitting your own entry
#41 Khalid Harun / KhalidHarun - Score: 38 - 03/27/15 @ 06:04
qq0<C-V>3j$d5jA <Esc>pq@q:%s/ /\r/g<CR>:g/^$/d<CR>ZZ

0 comments

#42 Endre Galaczi / galacziendre - Score: 38 - 08/16/15 @ 18:43
<C-V>)k$d)A <Esc>p0<C-V>)k$d)A <Esc>pkdgg:%s/ /\r/g<CR>ZZ

0 comments

#43 Georgi Georgiev / GeorgievGeorgeS - Score: 39 - 03/19/15 @ 16:51
<C-V>)k$d)A <Esc>p0<C-V>)k$d)A <Esc>pkdgg:%s/ /<C-V><CR>/g<CR>:x<CR>

0 comments

#44 luffy / raxcoi - Score: 42 - 07/16/15 @ 21:55
qq<C-V>$h3jd5j$p<C-V>3jI <Esc>0q@qVG:s/ /\r/g<CR>10GdggZZ

0 comments

#45 Bradley Garagan / bradgaragan - Score: 44 - 03/17/15 @ 14:34
qq}wddG{wpo<Esc>ggwddG{bpggq3@q14GddGP:g/^$/d<CR>ZZ

0 comments

#46 ipson_nek / ipson_nek - Score: 50 - 03/16/15 @ 17:22
qq"1yy5j"2yy5j"3yyG"3p"2p"1pggqj@q2j@q3j@q14dd<Esc>:x<CR>

0 comments

#47 matthieu le grix / mlegrix - Score: 69 - 04/20/15 @ 19:11
"add4jdd4jp"apGgg"add3jdd6jp"apgg"add2jdd8jp"apgg"addjddGp"apggddddZZ

0 comments

#48 sliufelseuig / sliufelseuig - Score: 72 - 03/15/15 @ 17:59
:11m0<CR>:7ml<CR>u:ll<BS><BS>11m0<CR>:7m1<CR>:12m3<CR>:9m4<CR>:13m6<CR>:11m7<CR>:14m9<CR>:13m10<CR>:13;+d<CR>ZZ

0 comments

#49 You Mustnotknow / y8hVz6fJdm6Lt5q - Score: 73 - 04/04/15 @ 15:34
:m 6<CR>:1m 7<CR>:1m 8<CR>:1m 9<CR>:11m 1<CR>:12m 4<CR>:13m 7<CR>14:1<BS><BS><BS><BS><BS><BS><BS>14m 10<CR>:1d<CR>:13d<CR>ZZ

0 comments

#50 Alice Benign / AliceBenign - Score: 104 - 03/29/15 @ 13:43
}jqq.<Esc><Esc>o<Esc>jq8@qggMj}}k5@quggjjjjjjjjddjjddggqqdd}}Vpggq3@qddMjjddkPkvkkkdkddo<Esc>gg@@Mo<Esc>gg@@@@@@@@@@@@@@ddZZ

0 comments

Created by: mcr05

50 active golfers, 118 entries

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

03/18/2015 at 11:55AM

17
#2 - Kaleb Hornsby / thekaleb

03/23/2015 at 05:51PM

17
#3 - John Braxler / braxler

03/23/2015 at 06:57PM

17
#4 - DrHobo / _DrHobo_

04/04/2015 at 03:48PM

17
#5 - Walker Boh / walker_boh

10/13/2015 at 09:11AM

17
#6 - Bennett Bernardoni / BBernardoni

06/30/2017 at 09:46PM

18
#7 - Marcelo Montu / _mMontu_

03/17/2015 at 06:10PM

23
#8 - E Both / enboth

04/12/2015 at 12:21AM

24
#9 - Rohan Orton / rohan_orton

03/15/2015 at 10:30PM

24
#10 - pftb12345 / pftb12345

03/28/2015 at 08:59AM

24
#11 - Ala' Ibrahim / alaa_ibrahim

04/02/2015 at 05:08AM

24
#12 - Daniel / Daniel00288663

04/06/2017 at 02:50PM

25
#13 - Matthieu Crapet / mcr05

03/15/2015 at 12:12PM

25
#14 - aborilov / aborilov

03/19/2015 at 11:58AM

25
#15 - Michi Loro / michiloro

03/19/2015 at 12:03PM

26
#16 - Mariano Macchi / mmacchif

03/15/2015 at 01:11PM

26
#17 - Andreas Carben / meiner_eins

03/24/2015 at 10:55PM

26
#18 - Mauro Persano / fzort

06/05/2015 at 11:09PM

26
#19 - Lifepillar / lifepillar

06/29/2015 at 03:42PM

26
#20 - Jon Krause / jkrause314

12/03/2015 at 11:40PM

27
#21 - BartJanssen / BartJanssen

03/15/2015 at 05:41PM

27
#22 - Kenny / zumalifeguard

03/15/2015 at 08:07PM

28
#23 - TheProgrammer971 / tp971

03/15/2015 at 11:18PM

28
#24 - Krzysztof / Krzysztof2K

03/19/2015 at 08:11AM

29
#25 - Javier Blanco / jbgutierrez

03/15/2015 at 08:28PM

30
#26 - Cosmin Banu / cosminb82

05/06/2015 at 09:33PM

32
#27 - Deepak Surti / dmsurti

03/16/2015 at 01:51PM

32
#28 - charlie garcia / thecgarcia

02/19/2016 at 11:05PM

33
#29 - dosmanak / dosmanak

03/19/2015 at 01:40PM

33
#30 - ltn614 / ltn614

09/21/2015 at 11:48AM

34
#31 - Anoop Kumar / anooplive

03/16/2015 at 02:09AM

34
#32 - chrisheithoff / chrisheithoff

03/17/2015 at 02:45AM

34
#33 - kungfuchad / kungfuchad

03/17/2015 at 11:38AM

34
#34 - Louis Caruana / louiecaruana

03/18/2015 at 12:32AM

34
#35 - octotep / octotep

03/19/2015 at 11:55PM

35
#36 - João Schaab / joao_fvieira

03/18/2015 at 06:56PM

35
#37 - Ben Hill / KaizenSoze70

06/06/2016 at 12:38PM

36
#38 - emblox / emblox

02/29/2016 at 06:38AM

36
#39 - Gurukandhamoorthi / Gurukandhamoor1

08/18/2017 at 02:58PM

37
#40 - Oleg Alfalfa / 6alfalfa9

03/19/2015 at 01:39PM

38
#41 - Khalid Harun / KhalidHarun

03/27/2015 at 06:04AM

38
#42 - Endre Galaczi / galacziendre

08/16/2015 at 06:43PM

39
#43 - Georgi Georgiev / GeorgievGeorgeS

03/19/2015 at 04:51PM

42
#44 - luffy / raxcoi

07/16/2015 at 09:55PM

44
#45 - Bradley Garagan / bradgaragan

03/17/2015 at 02:34PM

50
#46 - ipson_nek / ipson_nek

03/16/2015 at 05:22PM

69
#47 - matthieu le grix / mlegrix

04/20/2015 at 07:11PM

72
#48 - sliufelseuig / sliufelseuig

03/15/2015 at 05:59PM

73
#49 - You Mustnotknow / y8hVz6fJdm6Lt5q

04/04/2015 at 03:34PM

104
#50 - Alice Benign / AliceBenign

03/29/2015 at 01:43PM