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 by @jkrause314:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @_rustemb

32 active golfers, 78 entries

Solutions by @jkrause314:
19
#1 - Jon Krause / @jkrause314

07/31/2020 at 09:03PM