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

35 active golfers, 89 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

19
#14 - Marco Meinardi / @Kee__no

12/30/2022 at 06:52PM

19
#15 - Luoyb / @Luoyb

10/25/2023 at 07:41AM

19
#16 - Aly Thobani / @alythobani

05/29/2024 at 12:10AM

19
#17 - Peppa Pig / @PeppaPigSg

07/02/2024 at 06:09AM

19
#18 - nickGPT / @nickandbro

08/24/2024 at 04:35AM

20
#19 - Saki Gw / @Sakigw

08/01/2020 at 01:41PM

20
#20 - Tinko Minko / @tandikula

08/10/2020 at 06:07AM

20
#21 - Tanzeel Kazi / @tanzeelkazi

08/12/2020 at 04:57AM

20
#22 - Tom Dalling / @tom_dalling

08/31/2020 at 09:24AM

20
#23 - dorianm / @dorianm

05/08/2022 at 12:18AM

20
#24 - redbigyesnoGoThenWhy / @redbigyesno

06/10/2022 at 02:40PM

20
#25 - James / @Dronak

10/24/2022 at 07:28PM

20
#26 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 02:20PM

21
#27 - Seve / @Seve_py

07/31/2020 at 10:00PM

21
#28 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 07:12PM

21
#29 - mevmev / @mevmev8

09/09/2021 at 02:19PM

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

11/08/2022 at 03:51AM