{"action":"created","issue":{"url":"https://api.github.com/repos/junegunn/fzf/issues/587","repository_url":"https://api.github.com/repos/junegunn/fzf","labels_url":"https://api.github.com/repos/junegunn/fzf/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/fzf/issues/587/comments","events_url":"https://api.github.com/repos/junegunn/fzf/issues/587/events","html_url":"https://github.com/junegunn/fzf/issues/587","id":158493740,"number":587,"title":"Option to preview focused item with an external command","user":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/junegunn/fzf/labels/feature","name":"feature","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2016-06-04T08:05:10Z","updated_at":"2016-06-08T18:50:16Z","closed_at":null,"body":"Something like:\r\n\r\n```sh\r\ngit ls-files | fzf --preview \"head -$LINES {}\" --color light --margin 5,20\r\n```\r\n\r\n<img width=\"1280\" alt=\"head\" src=\"https://cloud.githubusercontent.com/assets/700826/15798496/a2599866-2a75-11e6-8ffa-ba5b8127e068.png\">\r\n\r\nWith some ANSI colors:\r\n\r\n```sh\r\ngit ls-files | fzf --preview \"pygmentize {}\" --color light --margin 5,20\r\n```\r\n\r\n<img width=\"1280\" alt=\"pygmentize\" src=\"https://cloud.githubusercontent.com/assets/700826/15798500/b71f0c9a-2a75-11e6-9f2f-a6572fdc69b4.png\">\r\n\r\nTBD:\r\n- Yes or no\r\n- Layout: top/bottom/left/right(/hidden), size"},"comment":{"url":"https://api.github.com/repos/junegunn/fzf/issues/comments/224690872","html_url":"https://github.com/junegunn/fzf/issues/587#issuecomment-224690872","issue_url":"https://api.github.com/repos/junegunn/fzf/issues/587","id":224690872,"user":{"login":"khalidchawtany","id":1681606,"avatar_url":"https://avatars.githubusercontent.com/u/1681606?v=3","gravatar_id":"","url":"https://api.github.com/users/khalidchawtany","html_url":"https://github.com/khalidchawtany","followers_url":"https://api.github.com/users/khalidchawtany/followers","following_url":"https://api.github.com/users/khalidchawtany/following{/other_user}","gists_url":"https://api.github.com/users/khalidchawtany/gists{/gist_id}","starred_url":"https://api.github.com/users/khalidchawtany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalidchawtany/subscriptions","organizations_url":"https://api.github.com/users/khalidchawtany/orgs","repos_url":"https://api.github.com/users/khalidchawtany/repos","events_url":"https://api.github.com/users/khalidchawtany/events{/privacy}","received_events_url":"https://api.github.com/users/khalidchawtany/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T18:50:16Z","updated_at":"2016-06-08T18:50:16Z","body":"@junegunn :+1:  At least the toggle binding is so much lovely to have. Even if there is no default on/off part.\r\n\r\nI know for sure that others will request the on/off part so much, that you will not be able to resist :stuck_out_tongue_winking_eye: "}}
{"actor":{"display_login":"khalidchawtany"}}