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

Convert Application Output to CSV

Change the application output to comma-separated values

Start file
app0
Duration: 15.132700ms

app1
Duration: 5346.12
Duration: 5342.3
Duration: 5614.1
Duration: 5884.18
Duration: 6082.06
Duration: 6087.21
Duration: 6140.46
Duration: 6392.49
Duration: 6484.61
Duration: 6532.93
Duration: 6488.43
Duration: 6596.62
Duration: 6650.43
Duration: 6620.47
Duration: 6740.71
Duration: 6788.45
Duration: 6888.99
Duration: 6980.85
Duration: 7032.83
Duration: 7158.24

app2
Duration: 1593.513900ms
Duration: 1627.548200ms
Duration: 1730.158700ms
Duration: 1875.952200ms
Duration: 1994.924800ms
Duration: 1991.495500ms
Duration: 2033.253300ms
Duration: 2037.780900ms
Duration: 2100.084100ms
Duration: 2219.649200ms
Duration: 2254.433100ms
Duration: 2315.607200ms
Duration: 2341.889600ms
Duration: 2360.516200ms
Duration: 2455.441300ms
Duration: 2475.084500ms
Duration: 2467.874600ms
Duration: 2493.176800ms
Duration: 2620.560300ms
Duration: 2643.711300ms

app3
Duration: 228674.570000ms
Duration: 234573.058400ms
Duration: 234685.368400ms
Duration: 240430.919200ms
Duration: 240449.140500ms
Duration: 240464.735900ms
Duration: 241006.109200ms
Duration: 241266.764500ms
Duration: 242687.977900ms
Duration: 247221.387100ms
Duration: 251116.524200ms
Duration: 251368.006600ms
Duration: 252059.346400ms
Duration: 252683.261600ms
Duration: 252686.836400ms
Duration: 252821.560100ms
Duration: 252967.342700ms
Duration: 253142.340500ms
Duration: 253627.178100ms
Duration: 253641.482200ms

app4
Duration: 258235.929600ms
Duration: 258292.169500ms
Duration: 262354.157100ms
Duration: 262716.808400ms
Duration: 262769.102100ms
Duration: 265074.881200ms
Duration: 265207.596500ms
Duration: 269306.980100ms
Duration: 273817.034800ms
Duration: 275188.636700ms
Duration: 275542.901300ms
Duration: 275956.272700ms
Duration: 276682.766500ms
Duration: 277628.021500ms
Duration: 277992.577300ms
Duration: 278193.831400ms
Duration: 278586.871400ms
Duration: 279097.451300ms
Duration: 279445.274900ms
Duration: 279500.901900ms
End file
app0,15
app1,5346
app2,1593
app3,228674
app4,258235

View Diff

1,90c1,5
< app0
< Duration: 15.132700ms
< 
< app1
< Duration: 5346.12
< Duration: 5342.3
< Duration: 5614.1
< Duration: 5884.18
< Duration: 6082.06
< Duration: 6087.21
< Duration: 6140.46
< Duration: 6392.49
< Duration: 6484.61
< Duration: 6532.93
< Duration: 6488.43
< Duration: 6596.62
< Duration: 6650.43
< Duration: 6620.47
< Duration: 6740.71
< Duration: 6788.45
< Duration: 6888.99
< Duration: 6980.85
< Duration: 7032.83
< Duration: 7158.24
< 
< app2
< Duration: 1593.513900ms
< Duration: 1627.548200ms
< Duration: 1730.158700ms
< Duration: 1875.952200ms
< Duration: 1994.924800ms
< Duration: 1991.495500ms
< Duration: 2033.253300ms
< Duration: 2037.780900ms
< Duration: 2100.084100ms
< Duration: 2219.649200ms
< Duration: 2254.433100ms
< Duration: 2315.607200ms
< Duration: 2341.889600ms
< Duration: 2360.516200ms
< Duration: 2455.441300ms
< Duration: 2475.084500ms
< Duration: 2467.874600ms
< Duration: 2493.176800ms
< Duration: 2620.560300ms
< Duration: 2643.711300ms
< 
< app3
< Duration: 228674.570000ms
< Duration: 234573.058400ms
< Duration: 234685.368400ms
< Duration: 240430.919200ms
< Duration: 240449.140500ms
< Duration: 240464.735900ms
< Duration: 241006.109200ms
< Duration: 241266.764500ms
< Duration: 242687.977900ms
< Duration: 247221.387100ms
< Duration: 251116.524200ms
< Duration: 251368.006600ms
< Duration: 252059.346400ms
< Duration: 252683.261600ms
< Duration: 252686.836400ms
< Duration: 252821.560100ms
< Duration: 252967.342700ms
< Duration: 253142.340500ms
< Duration: 253627.178100ms
< Duration: 253641.482200ms
< 
< app4
< Duration: 258235.929600ms
< Duration: 258292.169500ms
< Duration: 262354.157100ms
< Duration: 262716.808400ms
< Duration: 262769.102100ms
< Duration: 265074.881200ms
< Duration: 265207.596500ms
< Duration: 269306.980100ms
< Duration: 273817.034800ms
< Duration: 275188.636700ms
< Duration: 275542.901300ms
< Duration: 275956.272700ms
< Duration: 276682.766500ms
< Duration: 277628.021500ms
< Duration: 277992.577300ms
< Duration: 278193.831400ms
< Duration: 278586.871400ms
< Duration: 279097.451300ms
< Duration: 279445.274900ms
< Duration: 279500.901900ms
\ No newline at end of file
---
> app0,15
> app1,5346
> app2,1593
> app3,228674
> app4,258235
\ No newline at end of file

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 34 remaining solutions by signing in and submitting your own entry
#35 Paul Inc / @hiniol1982 - Score: 31 - 03/30/19 @ 20:32
qq/pp<CR>Jcf ,<Esc>f.Dq4@q:g!/app/d<CR>ZZ

0 comments


Created by: @ParsaAmini

35 active golfers, 118 entries

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

03/23/2019 at 02:51AM

17
#2 - Smylers / @Smylers2

03/23/2019 at 06:58AM

17
#3 - james_bunch / @james_bunch

03/23/2019 at 08:12AM

17
#4 - adir ohayon / @AdirKip

03/23/2019 at 10:57AM

17
#5 - Petro Π’rouq / @zulolosi

03/23/2019 at 01:11PM

17
#6 - Tinko Minko / @tandikula

03/23/2019 at 07:52PM

17
#7 - k24w24 / @k24w24

03/24/2019 at 04:00PM

17
#8 - Titouan Teyssier / @TitouanT_

03/24/2019 at 06:52PM

17
#9 - Saki Gw / @Sakigw

03/24/2019 at 07:19PM

17
#10 - πŸ…·πŸ…°πŸ†πŸ†πŸ†ˆ / @HarryAAbrahams1

03/24/2019 at 10:42PM

17
#11 - John Braxler / @braxler

03/25/2019 at 12:34PM

17
#12 - Shahin Mohammad Sali / @shaahiinms

03/25/2019 at 08:54PM

17
#13 - A / @777Android777

03/29/2019 at 03:53PM

17
#14 - Maximilian F. / @TheMaex

03/30/2019 at 02:48AM

17
#15 - zh0ng / @zh00ng

04/03/2019 at 09:36AM

17
#16 - Mark Stillwell / @marklee77

04/08/2019 at 11:54PM

17
#17 - alekfed / @alek_fed

04/14/2019 at 08:58PM

17
#18 - Gitsnik / @dracyrys

04/22/2019 at 11:49AM

17
#19 - Grant / @grant_7788

04/28/2019 at 02:04PM

17
#20 - Sherab Giovannini / @shaddycls

05/02/2019 at 10:43PM

17
#21 - eric huang / @EricGodhand4826

05/05/2019 at 06:09AM

17
#22 - Kai.Li / @KaiLi19

05/07/2019 at 05:31AM

17
#23 - Bruno Cunha / @bruncun

05/12/2019 at 11:59PM

17
#24 - majo senf / @majo_senf

06/17/2019 at 01:00PM

17
#25 - mkaminaga / @mkmng3

07/01/2019 at 07:43AM

17
#26 - Petru-Armand Bancila / @petruarmand

07/09/2019 at 09:37PM

19
#27 - Derek Schrock / @derekschrock

03/23/2019 at 01:47AM

19
#28 - T A / @SirAviles

03/23/2019 at 12:52PM

19
#29 - Daniel Steinberg / @dstein64

03/23/2019 at 08:33PM

19
#30 - Roger Stoltz / @rogsto1

04/08/2019 at 08:35PM