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 @Yes_I_Know_IT:

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

19 active golfers, 55 entries

Solutions by @Yes_I_Know_IT:
19
#6 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:20AM

22
#>8 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:18AM

24
#>9 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:17AM

25
#>10 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:16AM

26
#>11 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:16AM

28
#>12 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:14AM

31
#>14 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:13AM

37
#>16 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:10AM

38
#>18 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:06AM

42
#>19 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:05AM

87
#>19 - Sylvain Leroux / Yes, I Know IT ! / @Yes_I_Know_IT

04/28/2020 at 12:04AM