{"action":"created","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/442","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/442/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/442/events","html_url":"https://github.com/mawww/kakoune/issues/442","id":112087406,"number":442,"title":"Add support for horizontal view manipulations","user":{"login":"lenormf","id":1379068,"avatar_url":"https://avatars.githubusercontent.com/u/1379068?v=3","gravatar_id":"","url":"https://api.github.com/users/lenormf","html_url":"https://github.com/lenormf","followers_url":"https://api.github.com/users/lenormf/followers","following_url":"https://api.github.com/users/lenormf/following{/other_user}","gists_url":"https://api.github.com/users/lenormf/gists{/gist_id}","starred_url":"https://api.github.com/users/lenormf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenormf/subscriptions","organizations_url":"https://api.github.com/users/lenormf/orgs","repos_url":"https://api.github.com/users/lenormf/repos","events_url":"https://api.github.com/users/lenormf/events{/privacy}","received_events_url":"https://api.github.com/users/lenormf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T07:30:36Z","updated_at":"2015-11-02T21:01:41Z","closed_at":"2015-11-02T20:22:54Z","body":"Hi,\r\n\r\nIt'd be nice to have the same kind of shortcuts `kak` already has for vertical view manipulations (centering, moving the cursor etc), but horizontally.\r\n\r\nI often have the cursor on the right hand side of the screen, in the middle of a long line, and I wish there was a way to center the screen horizontally around the cursor so I can see what's off-screen."},"comment":{"url":"https://api.github.com/repos/mawww/kakoune/issues/comments/153155319","html_url":"https://github.com/mawww/kakoune/issues/442#issuecomment-153155319","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/442","id":153155319,"user":{"login":"mawww","id":51221,"avatar_url":"https://avatars.githubusercontent.com/u/51221?v=3","gravatar_id":"","url":"https://api.github.com/users/mawww","html_url":"https://github.com/mawww","followers_url":"https://api.github.com/users/mawww/followers","following_url":"https://api.github.com/users/mawww/following{/other_user}","gists_url":"https://api.github.com/users/mawww/gists{/gist_id}","starred_url":"https://api.github.com/users/mawww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawww/subscriptions","organizations_url":"https://api.github.com/users/mawww/orgs","repos_url":"https://api.github.com/users/mawww/repos","events_url":"https://api.github.com/users/mawww/events{/privacy}","received_events_url":"https://api.github.com/users/mawww/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T21:01:41Z","updated_at":"2015-11-02T21:01:41Z","body":"vm will try to center cursor horizontally, that will not always work however, as the window will try to get as much or the selection visible, so if you have a selection that starts at the begining of the line (or earlier),  the window will try to make the column 0 visible, potentially negating the view command. Not sure what is the best behaviour to have there, trying to expand the view to include as much as possible of the selection is quite handy, like if you select the current block with `<a-a>B` and the start of the block is not visible yet."}}