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 5d01c60354ee2200067df987

Remove quotes after first field

Remove the quotes around each field except for the first field.

Start file
"Livin' on a Prayer, Bon Jovi","89","-5","4FF","212"
"Faith, George Michael","234","49","7E5","22"
"I Still Haven't Found What I'm Looking For, U2","-3","6A2","37","12"
"Walk Like an Egyptian, Bangles","212","433","AEC","-23"
End file
"Livin' on a Prayer, Bon Jovi",89,-5,4FF,212
"Faith, George Michael",234,49,7E5,22
"I Still Haven't Found What I'm Looking For, U2",-3,6A2,37,12
"Walk Like an Egyptian, Bangles",212,433,AEC,-23

View Diff

1,4c1,4
< "Livin' on a Prayer, Bon Jovi","89","-5","4FF","212"
< "Faith, George Michael","234","49","7E5","22"
< "I Still Haven't Found What I'm Looking For, U2","-3","6A2","37","12"
< "Walk Like an Egyptian, Bangles","212","433","AEC","-23"
---
> "Livin' on a Prayer, Bon Jovi",89,-5,4FF,212
> "Faith, George Michael",234,49,7E5,22
> "I Still Haven't Found What I'm Looking For, U2",-3,6A2,37,12
> "Walk Like an Egyptian, Bangles",212,433,AEC,-23

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 26 remaining solutions by signing in and submitting your own entry
#27 Tim Dean / @Tmdean - Score: 27 - 06/13/19 @ 20:54
qq$4F,a<CR><Esc>:s/"//g<CR>kJx<CR>q3@qZZ

0 comments


#28 Mat / @matpbo - Score: 27 - 06/14/19 @ 17:32
qq$4F,a<CR><Esc>:s/"//g<CR>kJx<CR>q3@qZZ

0 comments


#29 JonasS / @jonas42s - Score: 27 - 06/14/19 @ 20:09
qq2f"x;x;x;x;x;x;x;x<CR>q3@qZZ

0 comments


#30 mirsemen / @mirsemen1 - Score: 27 - 07/15/19 @ 10:23
:%s/,"\(.\{,3\}\)"/,\1/g<CR>ZZ

0 comments


Created by: @jidn

30 active golfers, 83 entries

Leaderboard (lowest score wins):
16
#1 - Jon Krause / @jkrause314

06/13/2019 at 07:49PM

16
#2 - Saki Gw / @Sakigw

06/13/2019 at 08:18PM

16
#3 - John Braxler / @braxler

06/13/2019 at 08:28PM

16
#4 - Smylers / @Smylers2

06/13/2019 at 08:44PM

16
#5 - james_bunch / @james_bunch

06/14/2019 at 12:25AM

16
#6 - Artur Mróz / @MrozArtur

06/14/2019 at 08:56PM

16
#7 - Martijn Brekelmans / @Azeirah

06/17/2019 at 06:28PM

16
#8 - mkaminaga / @mkmng3

06/28/2019 at 08:06AM

16
#9 - Foo Bar / @foobar01123

06/30/2019 at 11:12AM

16
#10 - Epecb / @BceEpecb

07/01/2019 at 12:20AM

16
#11 - Neil Struthers / @struthersneil

07/17/2019 at 05:24PM

18
#12 - Joo Ming / @JooMingJoo

06/14/2019 at 08:59AM

21
#13 - tPenguinLTG / @tpenguinltg

06/13/2019 at 11:07AM

21
#14 - Tinko Minko / @tandikula

06/13/2019 at 05:23PM

21
#15 - zealotrush / @zealotrush

06/14/2019 at 04:48AM

21
#16 - vviimmmmmmm / @vviimmmmmmm

06/14/2019 at 08:34AM

22
#17 - Alexey Vyskubov / @avysk

06/13/2019 at 12:26PM

22
#18 - Frank Harrison / @doublethefish

06/15/2019 at 08:22AM

22
#19 - ささ / @nick11033

06/19/2019 at 11:59AM

24
#20 - Arijus / @argshook

06/14/2019 at 12:37PM

24
#21 - seul / @seul15987381

06/17/2019 at 02:33AM

25
#22 - Steven Wood / @StvnW

07/13/2019 at 12:34AM

26
#23 - Benoit Benoit / @Benoit_Tgt

06/13/2019 at 08:33AM

26
#24 - Altafen_ / @Altafen1

06/14/2019 at 07:07AM

26
#25 - Raphael / @Console64

06/14/2019 at 09:50AM

26
#26 - Paweł Styczewski / @kryspuss

06/14/2019 at 10:54AM

27
#27 - Tim Dean / @Tmdean

06/13/2019 at 08:54PM

27
#28 - Mat / @matpbo

06/14/2019 at 05:32PM

27
#29 - JonasS / @jonas42s

06/14/2019 at 08:09PM

27
#30 - mirsemen / @mirsemen1

07/15/2019 at 10:23AM