{"action":"created","issue":{"url":"https://api.github.com/repos/jesseduffield/lazygit/issues/234","repository_url":"https://api.github.com/repos/jesseduffield/lazygit","labels_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/234/comments","events_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/234/events","html_url":"https://github.com/jesseduffield/lazygit/pull/234","id":354847343,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNTEzMzgx","number":234,"title":"WIP: Add help panel (cheatsheet)","user":{"login":"dawidd6","id":9713907,"node_id":"MDQ6VXNlcjk3MTM5MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/9713907?v=4","gravatar_id":"","url":"https://api.github.com/users/dawidd6","html_url":"https://github.com/dawidd6","followers_url":"https://api.github.com/users/dawidd6/followers","following_url":"https://api.github.com/users/dawidd6/following{/other_user}","gists_url":"https://api.github.com/users/dawidd6/gists{/gist_id}","starred_url":"https://api.github.com/users/dawidd6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawidd6/subscriptions","organizations_url":"https://api.github.com/users/dawidd6/orgs","repos_url":"https://api.github.com/users/dawidd6/repos","events_url":"https://api.github.com/users/dawidd6/events{/privacy}","received_events_url":"https://api.github.com/users/dawidd6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-08-28T18:20:23Z","updated_at":"2018-09-03T17:01:05Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/234","html_url":"https://github.com/jesseduffield/lazygit/pull/234","diff_url":"https://github.com/jesseduffield/lazygit/pull/234.diff","patch_url":"https://github.com/jesseduffield/lazygit/pull/234.patch"},"body":"My proposition is to add 2 new fields to `Binding` struct. One for human readable key (i don't know how to pretty print current `Key` field value) and the other one simply for description of what this key is responsible for. Then we can straightforwardly generate a cheatsheet on the fly. Possible in the future we'll be able to simply export this cheatsheet to separate file and for example put it on github as a replacement for manually written `Keybindings.md`.\r\n\r\nPanel is currently set to maximum width and height, i think it's convenient."},"comment":{"url":"https://api.github.com/repos/jesseduffield/lazygit/issues/comments/418162164","html_url":"https://github.com/jesseduffield/lazygit/pull/234#issuecomment-418162164","issue_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/234","id":418162164,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODE2MjE2NA==","user":{"login":"dawidd6","id":9713907,"node_id":"MDQ6VXNlcjk3MTM5MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/9713907?v=4","gravatar_id":"","url":"https://api.github.com/users/dawidd6","html_url":"https://github.com/dawidd6","followers_url":"https://api.github.com/users/dawidd6/followers","following_url":"https://api.github.com/users/dawidd6/following{/other_user}","gists_url":"https://api.github.com/users/dawidd6/gists{/gist_id}","starred_url":"https://api.github.com/users/dawidd6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawidd6/subscriptions","organizations_url":"https://api.github.com/users/dawidd6/orgs","repos_url":"https://api.github.com/users/dawidd6/repos","events_url":"https://api.github.com/users/dawidd6/events{/privacy}","received_events_url":"https://api.github.com/users/dawidd6/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T17:01:05Z","updated_at":"2018-09-03T17:01:05Z","author_association":"CONTRIBUTOR","body":"That would be all for now i guess. Available for review @jesseduffield "}}
{"actor":{"display_login":"dawidd6"}}