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

Mr. Hacker

Elvin is hacker. He has piece of users database from some social net site. Recently he installed Vim, and he wants to convert CSV DB to specific format `key=value' where `key' is login and `value' is password, but password in DB is encrypted in ROT13. Help him.

Start file
name,surname,login,password
john,smith,superjser,wfvfpbbyyby
fred,simpson,fredsi,qmcapivrs
will,popov,vimer123,rznpffhpxf
greg,rockin,gogin,yvahkvfzlsni
anastasia,krasivaya,heartinussr,patrioticwoman
lev,tolstoy,ltolstoy,jnenaqcrnprvfirelireluneqobbxgbernqnaqirelirelybatnununyvxrguvfcnffubjvjvyyerzrzorevguhu
End file
superjser=jsiscoollol
fredsi=dzpncvief
vimer123=emacssucks
gogin=linuxismyfav
heartinussr=cngevbgvpjbzna
ltolstoy=warandpeaceisveryveryhardbooktoreadandveryverylongahahalikethispasshowiwillrememberithuh

View Diff

1,7c1,6
< name,surname,login,password
< john,smith,superjser,wfvfpbbyyby
< fred,simpson,fredsi,qmcapivrs
< will,popov,vimer123,rznpffhpxf
< greg,rockin,gogin,yvahkvfzlsni
< anastasia,krasivaya,heartinussr,patrioticwoman
< lev,tolstoy,ltolstoy,jnenaqcrnprvfirelireluneqobbxgbernqnaqirelirelybatnununyvxrguvfcnffubjvjvyyerzrzorevguhu
---
> superjser=jsiscoollol
> fredsi=dzpncvief
> vimer123=emacssucks
> gogin=linuxismyfav
> heartinussr=cngevbgvpjbzna
> ltolstoy=warandpeaceisveryveryhardbooktoreadandveryverylongahahalikethispasshowiwillrememberithuh

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 29 remaining solutions by signing in and submitting your own entry
#30 Nick Salesky / @NickSalesky - Score: 75 - 08/13/22 @ 16:15
dd11xj13xj11xj12xj20xj12x:%s/,/=<CR>fjveg?k3lveg?kbveg?kfrveg?kFqveg?kfwveg?ZZ

0 comments


Created by: @_rustemb

30 active golfers, 72 entries

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

07/31/2020 at 09:03PM

19
#2 - Smylers / @Smylers2

08/01/2020 at 06:18AM

19
#3 - analogpixel / @analogp1xel

08/04/2020 at 08:56PM

19
#4 - John Braxler / @braxler

08/10/2020 at 02:26AM

19
#5 - pikjes / @pikjes2

03/25/2021 at 02:29PM

19
#6 - JL T / @l0f4r0

05/15/2021 at 06:24PM

19
#7 - Roger Stoltz / @rogsto1

05/18/2021 at 10:21PM

19
#8 - Dan / @dstein64

05/28/2021 at 06:14PM

19
#9 - Snurli / @Snurlipus

11/23/2021 at 09:35PM

19
#10 - Sammit / @somemeatjain

01/31/2022 at 04:20PM

19
#11 - russellzhaomao / @russellzhaomao

05/23/2022 at 05:17AM

19
#12 - Fabio Murru / @MurruFabio

06/01/2022 at 11:25PM

19
#13 - Alex / @AlexanderHeatl2

07/11/2022 at 11:36PM

20
#14 - Saki Gw / @Sakigw

08/01/2020 at 01:41PM

20
#15 - Tinko Minko / @tandikula

08/10/2020 at 06:07AM

20
#16 - Tanzeel Kazi / @tanzeelkazi

08/12/2020 at 04:57AM

20
#17 - Tom Dalling / @tom_dalling

08/31/2020 at 09:24AM

20
#18 - dorianm / @dorianm

05/08/2022 at 12:18AM

20
#19 - redbigyesnoGoThenWhy / @redbigyesno

06/10/2022 at 02:40PM

20
#20 - James / @Dronak

10/24/2022 at 07:28PM

20
#21 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 02:20PM

21
#22 - Seve / @Seve_py

07/31/2020 at 10:00PM

21
#23 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 07:12PM

21
#24 - mevmev / @mevmev8

09/09/2021 at 02:19PM

21
#25 - キムラ・OPEL・ユウジ / @kimurayuuji79

11/08/2022 at 03:51AM

22
#26 - POSIX / @po6ix

02/02/2022 at 05:41PM

25
#27 - Rustem B. / @_rustemb

07/31/2020 at 08:12PM

25
#28 - Steve Frost / @FrostSteveFrost

08/02/2020 at 09:36PM

25
#29 - タケ / @Take3832

05/19/2022 at 11:38PM

75
#30 - Nick Salesky / @NickSalesky

08/13/2022 at 04:15PM