{"action":"created","issue":{"url":"https://api.github.com/repos/roman/golden-ratio/issues/19","repository_url":"https://api.github.com/repos/roman/golden-ratio","labels_url":"https://api.github.com/repos/roman/golden-ratio/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/roman/golden-ratio/issues/19/comments","events_url":"https://api.github.com/repos/roman/golden-ratio/issues/19/events","html_url":"https://github.com/roman/golden-ratio/issues/19","id":37742990,"number":19,"title":"View is moved if switching windows when cursor is far right","user":{"login":"skeate","id":387382,"avatar_url":"https://avatars.githubusercontent.com/u/387382?v=3","gravatar_id":"","url":"https://api.github.com/users/skeate","html_url":"https://github.com/skeate","followers_url":"https://api.github.com/users/skeate/followers","following_url":"https://api.github.com/users/skeate/following{/other_user}","gists_url":"https://api.github.com/users/skeate/gists{/gist_id}","starred_url":"https://api.github.com/users/skeate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skeate/subscriptions","organizations_url":"https://api.github.com/users/skeate/orgs","repos_url":"https://api.github.com/users/skeate/repos","events_url":"https://api.github.com/users/skeate/events{/privacy}","received_events_url":"https://api.github.com/users/skeate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-07-13T15:07:22Z","updated_at":"2016-12-19T15:19:40Z","closed_at":null,"body":"Made a gif to be clear:\n\n![Imgur](http://i.imgur.com/EcRFW9d.gif)\n\nWhen the cursor is on the 'z' and the window is toggled back and forth, the view changes. I've gotten around this with `autocmd WinEnter * :normal ze`, but there's probably a better way.\n"},"comment":{"url":"https://api.github.com/repos/roman/golden-ratio/issues/comments/267990010","html_url":"https://github.com/roman/golden-ratio/issues/19#issuecomment-267990010","issue_url":"https://api.github.com/repos/roman/golden-ratio/issues/19","id":267990010,"user":{"login":"skeate","id":387382,"avatar_url":"https://avatars.githubusercontent.com/u/387382?v=3","gravatar_id":"","url":"https://api.github.com/users/skeate","html_url":"https://github.com/skeate","followers_url":"https://api.github.com/users/skeate/followers","following_url":"https://api.github.com/users/skeate/following{/other_user}","gists_url":"https://api.github.com/users/skeate/gists{/gist_id}","starred_url":"https://api.github.com/users/skeate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skeate/subscriptions","organizations_url":"https://api.github.com/users/skeate/orgs","repos_url":"https://api.github.com/users/skeate/repos","events_url":"https://api.github.com/users/skeate/events{/privacy}","received_events_url":"https://api.github.com/users/skeate/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T15:19:40Z","updated_at":"2016-12-19T15:19:40Z","body":"> Golden ratio autocmd resizes windows to make first window smaller. Since doing so makes z not visible so view shifts to make z (previous cursor position) visible.\r\n> You want A to remain visible. Is that right?\r\n\r\nNo. z should remain visible in this case; the problem is the switch _back_.\r\n\r\nApparently my gif is actually just confusing things, rather than helping to make it clear. 😢 \r\n\r\n1. Open two windows, the left of which has a long-ish line. Specifically, long enough that with golden-ratio, the shrunken size is longer than the window is wide, but short enough that the expanded size can fit the whole thing.\r\n2. Go to the end of that long line (should still see beginning of line in window)\r\n3. Switch to right window. The left window shrinks, cutting off the first part of the line.\r\n4. Switch to the left window. The text doesn't move; you can't see the beginning of the line, even though there's room for it."}}
{"actor":{"display_login":"skeate"}}