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 5 remaining solutions by signing in and submitting your own entry
#6 Rustem B. / @_rustemb - Score: 25 - 07/31/20 @ 20:12
ddVG:norm f,;d0x;r=g?$<CR>ZZ

0 comments


#7 Steve Frost / @FrostSteveFrost - Score: 25 - 08/02/20 @ 21:36
ddVG:norm f,;d0x;r=g?$<CR>ZZ

0 comments


Created by: @_rustemb

7 active golfers, 12 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 - Daniel Steinberg / @dstein64

08/04/2020 at 12:41AM

20
#4 - Saki Gw / @Sakigw

08/01/2020 at 01:41PM

21
#5 - Seve / @__Seve__

07/31/2020 at 10:00PM

25
#6 - Rustem B. / @_rustemb

07/31/2020 at 08:12PM

25
#7 - Steve Frost / @FrostSteveFrost

08/02/2020 at 09:36PM