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 59 remaining solutions by signing in and submitting your own entry
#60 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

60 active golfers, 185 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

17
#7 - Turkey Man / @lvturkeyman

12/03/2017 at 03:37PM

17
#8 - Janzen / @__Coos

09/30/2022 at 10:31AM

17
#9 - Peppa Pig / @PeppaPi95550250

06/28/2024 at 05:39AM

17
#10 - nickGPT / @nickandbro

08/28/2024 at 04:23AM

18
#11 - Marcelo Montu / @_mMontu_

03/17/2015 at 06:10PM

18
#12 - mevmev / @mevmev8

09/30/2021 at 11:13AM

18
#13 - Berel94 / @Berel94

03/20/2024 at 10:34PM

20
#14 - Jean George / @JeanGeo20504212

07/04/2022 at 09:12PM

23
#15 - E Both / @enboth

04/12/2015 at 12:21AM

24
#16 - Rohan Orton / @rohan_orton

03/15/2015 at 10:30PM

24
#17 - pftb12345 / @pftb12345

03/28/2015 at 08:59AM

24
#18 - Ala' Ibrahim / @alaa_ibrahim

04/02/2015 at 05:08AM

24
#19 - Daniel / @Daniel00288663

04/06/2017 at 02:50PM

24
#20 - Sergio / @voyeg3r

09/21/2018 at 12:17PM

25
#21 - Matt / @mcr05

03/15/2015 at 12:12PM

25
#22 - aborilov / @aborilov

03/19/2015 at 11:58AM

25
#23 - Michi Loro / @michiloro

03/19/2015 at 12:03PM

26
#24 - Mariano Macchi / @mmacchif

03/15/2015 at 01:11PM

26
#25 - Andreas Carben / @meiner_eins

03/24/2015 at 10:55PM

26
#26 - Mauro Persano / @fzort

06/05/2015 at 11:09PM

26
#27 - Lifepillar / @lifepillar

06/29/2015 at 03:42PM

26
#28 - Jon Krause / @jkrause314

12/03/2015 at 11:40PM

27
#29 - BartJanssen / @BartJanssen

03/15/2015 at 05:41PM

27
#30 - Kenny / @zumalifeguard

03/15/2015 at 08:07PM