You got a json response and want to format it. Can you do it in vim? Yes, you can!

{ "login": "ryrych", "id": 278637, "avatar_url": "https://avatars.githubusercontent.com/u/278637?v=3", "gravatar_id": "", "url": "https://api.github.com/users/ryrych", "html_url": "https://github.com/ryrych", "followers_url": "https://api.github.com/users/ryrych/followers", "following_url": "https://api.github.com/users/ryrych/following{/other_user}", "gists_url": "https://api.github.com/users/ryrych/gists{/gist_id}", "starred_url": "https://api.github.com/users/ryrych/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryrych/subscriptions", "organizations_url": "https://api.github.com/users/ryrych/orgs", "repos_url": "https://api.github.com/users/ryrych/repos", "events_url": "https://api.github.com/users/ryrych/events{/privacy}", "received_events_url": "https://api.github.com/users/ryrych/received_events", "type": "User", "site_admin": false, "name": "Wojtek Ryrych", "company": "Selleo", "blog": "http://ryrych.pl", "location": "Bielsko-Biała, Poland", "email": null, "hireable": null, "bio": null, "public_repos": 42, "public_gists": 15, "followers": 23, "following": 17, "created_at": "2010-05-16T20:04:57Z", "updated_at": "2016-09-15T15:32:58Z" }

Select json response and run this command:

'<,'>!python -m json.tool
{
    "avatar_url": "https://avatars.githubusercontent.com/u/278637?v=3",
    "bio": null,
    "blog": "http://ryrych.pl",
    "company": "Selleo",
    "created_at": "2010-05-16T20:04:57Z",
    "email": null,
    "events_url": "https://api.github.com/users/ryrych/events{/privacy}",
    "followers": 23,
    "followers_url": "https://api.github.com/users/ryrych/followers",
    "following": 17,
    "following_url": "https://api.github.com/users/ryrych/following{/other_user}",
    "gists_url": "https://api.github.com/users/ryrych/gists{/gist_id}",
    "gravatar_id": "",
    "hireable": null,
    "html_url": "https://github.com/ryrych",
    "id": 278637,
    "location": "Bielsko-Bia\u0142a, Poland",
    "login": "ryrych",
    "name": "Wojtek Ryrych",
    "organizations_url": "https://api.github.com/users/ryrych/orgs",
    "public_gists": 15,
    "public_repos": 42,
    "received_events_url": "https://api.github.com/users/ryrych/received_events",
    "repos_url": "https://api.github.com/users/ryrych/repos",
    "site_admin": false,
    "starred_url": "https://api.github.com/users/ryrych/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/ryrych/subscriptions",
    "type": "User",
    "updated_at": "2016-09-15T15:32:58Z",
    "url": "https://api.github.com/users/ryrych"
}

Simple, huh?

This protip has been written in 578 seconds