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

0 comments


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

0 comments


Created by: @_rustemb

13 active golfers, 22 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

19
#4 - analogpixel / @analogp1xel

08/04/2020 at 08:56PM

19
#5 - John Braxler / @braxler

08/10/2020 at 02:26AM

20
#6 - Saki Gw / @Sakigw

08/01/2020 at 01:41PM

20
#7 - Tinko Minko / @tandikula

08/10/2020 at 06:07AM

20
#8 - Tanzeel Kazi / @tanzeelkazi

08/12/2020 at 04:57AM

20
#9 - Tom Dalling / @tom_dalling

08/31/2020 at 09:24AM

21
#10 - Seve / @Seve_py

07/31/2020 at 10:00PM

21
#11 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 07:12PM

25
#12 - Rustem B. / @_rustemb

07/31/2020 at 08:12PM

25
#13 - Steve Frost / @FrostSteveFrost

08/02/2020 at 09:36PM