{"action":"created","issue":{"url":"https://api.github.com/repos/google/xi-editor/issues/52","repository_url":"https://api.github.com/repos/google/xi-editor","labels_url":"https://api.github.com/repos/google/xi-editor/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/google/xi-editor/issues/52/comments","events_url":"https://api.github.com/repos/google/xi-editor/issues/52/events","html_url":"https://github.com/google/xi-editor/issues/52","id":152556975,"number":52,"title":"Request: Core Text-friendly keyboard shortcuts","user":{"login":"chriskrycho","id":2403023,"avatar_url":"https://avatars.githubusercontent.com/u/2403023?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskrycho","html_url":"https://github.com/chriskrycho","followers_url":"https://api.github.com/users/chriskrycho/followers","following_url":"https://api.github.com/users/chriskrycho/following{/other_user}","gists_url":"https://api.github.com/users/chriskrycho/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskrycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskrycho/subscriptions","organizations_url":"https://api.github.com/users/chriskrycho/orgs","repos_url":"https://api.github.com/users/chriskrycho/repos","events_url":"https://api.github.com/users/chriskrycho/events{/privacy}","received_events_url":"https://api.github.com/users/chriskrycho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/xi-editor/labels/easy","name":"easy","color":"80c000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-02T13:49:04Z","updated_at":"2016-05-09T00:58:32Z","closed_at":null,"body":"Core Text has built-in support for the standard Emacs navigation actions and the simplest of its text manipulation actions:\r\n\r\n- `^f`: cursor forward\r\n- `^b`: cursor backward\r\n- `^p`: cursor up one line\r\n- `^n`: cursor down one line\r\n- `^a`: cursor or to start of line\r\n- `^e`: cursor to end of line\r\n\r\nText manipulation: \r\n\r\n- `^k`: \"kill\" – cut to end of line and add to OS X \"kill ring\" (a secondary clipboard, essentially)\r\n- `^y`: \"yank\" – paste the last item in the kill ring\r\n- `^t`: \"transpose\" – swap characters on either side of cursor and advance cursor by one\r\n\r\nSupport for these would immediately make the editor feel much more native on OS X to me (and presumably a lot of others).\r\n\r\n(If I get some time I'll see what would be needed to implement, but I'm in a very busy season and we have some family health t now, so I wouldn't hold your breath for a PR for me.)"},"comment":{"url":"https://api.github.com/repos/google/xi-editor/issues/comments/217757016","html_url":"https://github.com/google/xi-editor/issues/52#issuecomment-217757016","issue_url":"https://api.github.com/repos/google/xi-editor/issues/52","id":217757016,"user":{"login":"canaltinova","id":466239,"avatar_url":"https://avatars.githubusercontent.com/u/466239?v=3","gravatar_id":"","url":"https://api.github.com/users/canaltinova","html_url":"https://github.com/canaltinova","followers_url":"https://api.github.com/users/canaltinova/followers","following_url":"https://api.github.com/users/canaltinova/following{/other_user}","gists_url":"https://api.github.com/users/canaltinova/gists{/gist_id}","starred_url":"https://api.github.com/users/canaltinova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canaltinova/subscriptions","organizations_url":"https://api.github.com/users/canaltinova/orgs","repos_url":"https://api.github.com/users/canaltinova/repos","events_url":"https://api.github.com/users/canaltinova/events{/privacy}","received_events_url":"https://api.github.com/users/canaltinova/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T00:58:32Z","updated_at":"2016-05-09T00:58:32Z","body":"Hi, I would like to take a stab at implementing kill ring. But I'm new to this project, can you briefly explain how to implement it please?  :)"}}