{"action":"created","issue":{"url":"https://api.github.com/repos/jesseduffield/lazygit/issues/337","repository_url":"https://api.github.com/repos/jesseduffield/lazygit","labels_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/337/comments","events_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/337/events","html_url":"https://github.com/jesseduffield/lazygit/issues/337","id":385533327,"node_id":"MDU6SXNzdWUzODU1MzMzMjc=","number":337,"title":"add/remove individual lines to/from staging in the diff view","user":{"login":"snoblenet","id":62277,"node_id":"MDQ6VXNlcjYyMjc3","avatar_url":"https://avatars0.githubusercontent.com/u/62277?v=4","gravatar_id":"","url":"https://api.github.com/users/snoblenet","html_url":"https://github.com/snoblenet","followers_url":"https://api.github.com/users/snoblenet/followers","following_url":"https://api.github.com/users/snoblenet/following{/other_user}","gists_url":"https://api.github.com/users/snoblenet/gists{/gist_id}","starred_url":"https://api.github.com/users/snoblenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoblenet/subscriptions","organizations_url":"https://api.github.com/users/snoblenet/orgs","repos_url":"https://api.github.com/users/snoblenet/repos","events_url":"https://api.github.com/users/snoblenet/events{/privacy}","received_events_url":"https://api.github.com/users/snoblenet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-29T01:52:24Z","updated_at":"2018-12-02T10:31:40Z","closed_at":null,"author_association":"NONE","body":"I would love it if we could add/remove individual lines to/from staging in the diff view.\r\n\r\nI imagine:\r\n- j and k to move up and down in diff view\r\n- current line in diff view highlighted somehow (configurable UI)\r\n- a margin indicator for each line showing whether it is staged (and/or staged lines are in the bold font or colour reversed)\r\n- c to toggle whether the current line is staged\r\n"},"comment":{"url":"https://api.github.com/repos/jesseduffield/lazygit/issues/comments/443497163","html_url":"https://github.com/jesseduffield/lazygit/issues/337#issuecomment-443497163","issue_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/337","id":443497163,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQ5NzE2Mw==","user":{"login":"jesseduffield","id":8456633,"node_id":"MDQ6VXNlcjg0NTY2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8456633?v=4","gravatar_id":"","url":"https://api.github.com/users/jesseduffield","html_url":"https://github.com/jesseduffield","followers_url":"https://api.github.com/users/jesseduffield/followers","following_url":"https://api.github.com/users/jesseduffield/following{/other_user}","gists_url":"https://api.github.com/users/jesseduffield/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseduffield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseduffield/subscriptions","organizations_url":"https://api.github.com/users/jesseduffield/orgs","repos_url":"https://api.github.com/users/jesseduffield/repos","events_url":"https://api.github.com/users/jesseduffield/events{/privacy}","received_events_url":"https://api.github.com/users/jesseduffield/received_events","type":"User","site_admin":false},"created_at":"2018-12-02T10:31:40Z","updated_at":"2018-12-02T10:31:40Z","author_association":"OWNER","body":"I've whipped up a [PR](https://github.com/jesseduffield/lazygit/pull/338) that I think does the job pretty well. The only issue is that once you've staged a file there's no clear way of how to reverse it. Either way please let me know your thoughts on that PR :)"}}
{"actor":{"display_login":"jesseduffield"}}