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

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @mcr05

22 active golfers, 64 entries

Solutions by @rqAbrahamsson:
35
#16 - Robin Abrahamsson / @rqAbrahamsson

05/01/2020 at 06:07PM

41
#>21 - Robin Abrahamsson / @rqAbrahamsson

05/01/2020 at 05:22PM