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 548879e3844403000250b6aa

JSON string rotation

Right value strings are misplaced. Just rotate them! I'm too kind with you guys and didn't included "strings with \" in it"!

Start file
{
  "name"  :  "y64zqe0UKLO2w",
  "id": "Le mal vient à cheval et le bonheur à pied.",
  "proverb" : "fr",
  "lang":"http:\/\/foo.com\/good\/id=",
    "rating": 4.5,
  "link" : "",
    "status": {"success":true},
  "description": "Happiness and misfortune"
}
End file
{
  "name"  :  "Happiness and misfortune",
  "id": "y64zqe0UKLO2w",
  "proverb" : "Le mal vient à cheval et le bonheur à pied.",
  "lang":"fr",
    "rating": 4.5,
  "link" : "http:\/\/foo.com\/good\/id=",
    "status": {"success":true},
  "description": ""
}

View Diff

2,5c2,5
<   "name"  :  "y64zqe0UKLO2w",
<   "id": "Le mal vient à cheval et le bonheur à pied.",
<   "proverb" : "fr",
<   "lang":"http:\/\/foo.com\/good\/id=",
---
>   "name"  :  "Happiness and misfortune",
>   "id": "y64zqe0UKLO2w",
>   "proverb" : "Le mal vient à cheval et le bonheur à pied.",
>   "lang":"fr",
7c7
<   "link" : "",
---
>   "link" : "http:\/\/foo.com\/good\/id=",
9c9
<   "description": "Happiness and misfortune"
---
>   "description": ""

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 12 remaining solutions by signing in and submitting your own entry
#13 Oliver Christ / 0liverChrist - Score: 37 - 02/13/15 @ 21:31
jt,di"jvi"pjhvi"pjhvi"pjjpjjdi"7khPZZ

0 comments

#14 kungfuchad / kungfuchad - Score: 38 - 12/11/14 @ 12:30
9GfHdi"2GfyqqT"Pldt"qj@qjh@qjh@qjj@qZZ

0 comments

#15 AC / quadface - Score: 42 - 04/29/15 @ 23:22
/"<CR>2nqdldnq3nqqlvnhpq4n@q4n@q6np8n@d26NPZZ

0 comments

Created by: mcr05

15 active golfers, 35 entries

Leaderboard (lowest score wins):
19
#1 - Kai Yuan / kentyuan

12/10/2014 at 08:33PM

19
#2 - John Braxler / braxler

12/10/2014 at 08:36PM

19
#3 - Petro Тrouq / zulolosi

12/10/2014 at 09:33PM

19
#4 - Tom Reznick / threznick

12/10/2014 at 10:03PM

19
#5 - Urtica dioica / udioica

12/10/2014 at 10:46PM

22
#6 - david hu / chin33z

12/13/2014 at 05:05PM

24
#7 - Carlos López / morrizon

01/04/2015 at 06:31PM

25
#8 - pftb12345 / pftb12345

04/16/2015 at 07:19AM

26
#9 - Carlos A Henríquez Q / lagunex

01/17/2015 at 04:45PM

28
#10 - Elizabeth / sprinkles418

12/13/2014 at 01:07AM

31
#11 - Matthieu Crapet / mcr05

12/10/2014 at 08:53PM

31
#12 - jared swarts / JaredSwarts

12/12/2014 at 10:55PM

37
#13 - Oliver Christ / 0liverChrist

02/13/2015 at 09:31PM

38
#14 - kungfuchad / kungfuchad

12/11/2014 at 12:30PM

42
#15 - AC / quadface

04/29/2015 at 11:22PM