{"action":"created","issue":{"url":"https://api.github.com/repos/atom/vim-mode/issues/817","repository_url":"https://api.github.com/repos/atom/vim-mode","labels_url":"https://api.github.com/repos/atom/vim-mode/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/atom/vim-mode/issues/817/comments","events_url":"https://api.github.com/repos/atom/vim-mode/issues/817/events","html_url":"https://github.com/atom/vim-mode/issues/817","id":99476119,"number":817,"title":"Adding g$ and g^ functionality ","user":{"login":"thaldyron","id":2894289,"avatar_url":"https://avatars.githubusercontent.com/u/2894289?v=3","gravatar_id":"","url":"https://api.github.com/users/thaldyron","html_url":"https://github.com/thaldyron","followers_url":"https://api.github.com/users/thaldyron/followers","following_url":"https://api.github.com/users/thaldyron/following{/other_user}","gists_url":"https://api.github.com/users/thaldyron/gists{/gist_id}","starred_url":"https://api.github.com/users/thaldyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaldyron/subscriptions","organizations_url":"https://api.github.com/users/thaldyron/orgs","repos_url":"https://api.github.com/users/thaldyron/repos","events_url":"https://api.github.com/users/thaldyron/events{/privacy}","received_events_url":"https://api.github.com/users/thaldyron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T16:39:33Z","updated_at":"2016-04-09T09:25:24Z","closed_at":null,"body":"While j and k seem to work like gj and gk, currently ^ and $ jump to the first resp. last character of the buffer line. There doesn't seem to be a way to jump to the first/last character of the screen line when soft wrap is enabled. "},"comment":{"url":"https://api.github.com/repos/atom/vim-mode/issues/comments/207752034","html_url":"https://github.com/atom/vim-mode/issues/817#issuecomment-207752034","issue_url":"https://api.github.com/repos/atom/vim-mode/issues/817","id":207752034,"user":{"login":"thaldyron","id":2894289,"avatar_url":"https://avatars.githubusercontent.com/u/2894289?v=3","gravatar_id":"","url":"https://api.github.com/users/thaldyron","html_url":"https://github.com/thaldyron","followers_url":"https://api.github.com/users/thaldyron/followers","following_url":"https://api.github.com/users/thaldyron/following{/other_user}","gists_url":"https://api.github.com/users/thaldyron/gists{/gist_id}","starred_url":"https://api.github.com/users/thaldyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaldyron/subscriptions","organizations_url":"https://api.github.com/users/thaldyron/orgs","repos_url":"https://api.github.com/users/thaldyron/repos","events_url":"https://api.github.com/users/thaldyron/events{/privacy}","received_events_url":"https://api.github.com/users/thaldyron/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T09:25:24Z","updated_at":"2016-04-09T09:25:24Z","body":"Something like this should work, but it only works for g$ and neither for g^ nor g0: \r\n\r\n`'atom-text-editor.vim-mode:not(.insert-mode)':\r\n  'g^': 'editor:move-to-beginning-of-screen-line'\r\n\r\n'atom-text-editor.vim-mode:not(.insert-mode)':\r\n  'g0': 'editor:move-to-beginning-of-screen-line'\r\n\r\n'atom-text-editor.vim-mode:not(.insert-mode)':\r\n  'g$': 'editor:move-to-end-of-screen-line'`"}}