{"action":"created","issue":{"url":"https://api.github.com/repos/magnars/multiple-cursors.el/issues/212","labels_url":"https://api.github.com/repos/magnars/multiple-cursors.el/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/magnars/multiple-cursors.el/issues/212/comments","events_url":"https://api.github.com/repos/magnars/multiple-cursors.el/issues/212/events","html_url":"https://github.com/magnars/multiple-cursors.el/issues/212","id":100754321,"number":212,"title":"Query per cursor","user":{"login":"MrBones118","id":1806230,"avatar_url":"https://avatars.githubusercontent.com/u/1806230?v=3","gravatar_id":"","url":"https://api.github.com/users/MrBones118","html_url":"https://github.com/MrBones118","followers_url":"https://api.github.com/users/MrBones118/followers","following_url":"https://api.github.com/users/MrBones118/following{/other_user}","gists_url":"https://api.github.com/users/MrBones118/gists{/gist_id}","starred_url":"https://api.github.com/users/MrBones118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrBones118/subscriptions","organizations_url":"https://api.github.com/users/MrBones118/orgs","repos_url":"https://api.github.com/users/MrBones118/repos","events_url":"https://api.github.com/users/MrBones118/events{/privacy}","received_events_url":"https://api.github.com/users/MrBones118/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T12:13:09Z","updated_at":"2015-08-13T12:29:11Z","closed_at":null,"body":"Sometimes I find I want to do a different thing for each cursors half way through editing.\r\nIn this case it'd be great to have multiple-cursors-query-user\r\n\r\nThen I could type all at once\r\n(define-key map (kbd \"\r\n(define-key map (kbd \"\r\n(define-key map (kbd \"\r\n\r\nAnd then hit multiple-cursors-query-user and insert a different key combo on each line."},"comment":{"url":"https://api.github.com/repos/magnars/multiple-cursors.el/issues/comments/130649540","html_url":"https://github.com/magnars/multiple-cursors.el/issues/212#issuecomment-130649540","issue_url":"https://api.github.com/repos/magnars/multiple-cursors.el/issues/212","id":130649540,"user":{"login":"magnars","id":265785,"avatar_url":"https://avatars.githubusercontent.com/u/265785?v=3","gravatar_id":"","url":"https://api.github.com/users/magnars","html_url":"https://github.com/magnars","followers_url":"https://api.github.com/users/magnars/followers","following_url":"https://api.github.com/users/magnars/following{/other_user}","gists_url":"https://api.github.com/users/magnars/gists{/gist_id}","starred_url":"https://api.github.com/users/magnars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnars/subscriptions","organizations_url":"https://api.github.com/users/magnars/orgs","repos_url":"https://api.github.com/users/magnars/repos","events_url":"https://api.github.com/users/magnars/events{/privacy}","received_events_url":"https://api.github.com/users/magnars/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T12:29:11Z","updated_at":"2015-08-13T12:29:11Z","body":"If you want to insert a unique piece of text at each cursor, here's one way to do that:\r\n\r\n```el\r\n(defun prompt-for-insert ()\r\n  (interactive)\r\n  (insert (read-string \"Insert: \")))\r\n```\r\n\r\nBind that to a key, and you'll get a prompt for every cursor. :)"}}