{"action":"created","issue":{"url":"https://api.github.com/repos/cdown/clipmenu/issues/37","repository_url":"https://api.github.com/repos/cdown/clipmenu","labels_url":"https://api.github.com/repos/cdown/clipmenu/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/cdown/clipmenu/issues/37/comments","events_url":"https://api.github.com/repos/cdown/clipmenu/issues/37/events","html_url":"https://github.com/cdown/clipmenu/pull/37","id":194575637,"number":37,"title":"Perform an insertion after the selection when --insert given","user":{"login":"schtibe","id":430100,"avatar_url":"https://avatars.githubusercontent.com/u/430100?v=3","gravatar_id":"","url":"https://api.github.com/users/schtibe","html_url":"https://github.com/schtibe","followers_url":"https://api.github.com/users/schtibe/followers","following_url":"https://api.github.com/users/schtibe/following{/other_user}","gists_url":"https://api.github.com/users/schtibe/gists{/gist_id}","starred_url":"https://api.github.com/users/schtibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schtibe/subscriptions","organizations_url":"https://api.github.com/users/schtibe/orgs","repos_url":"https://api.github.com/users/schtibe/repos","events_url":"https://api.github.com/users/schtibe/events{/privacy}","received_events_url":"https://api.github.com/users/schtibe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-09T11:37:09Z","updated_at":"2016-12-16T11:16:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cdown/clipmenu/pulls/37","html_url":"https://github.com/cdown/clipmenu/pull/37","diff_url":"https://github.com/cdown/clipmenu/pull/37.diff","patch_url":"https://github.com/cdown/clipmenu/pull/37.patch"},"body":"Added an option that enables the tool to insert the selected clipboard entry directly on the focused input.\r\n\r\nSo far tested this with i3 with a keybinding:\r\n\r\n    bindsym $mod+shift+b exec --no-startup-id clipmenu --insert\r\n"},"comment":{"url":"https://api.github.com/repos/cdown/clipmenu/issues/comments/267572850","html_url":"https://github.com/cdown/clipmenu/pull/37#issuecomment-267572850","issue_url":"https://api.github.com/repos/cdown/clipmenu/issues/37","id":267572850,"user":{"login":"schtibe","id":430100,"avatar_url":"https://avatars.githubusercontent.com/u/430100?v=3","gravatar_id":"","url":"https://api.github.com/users/schtibe","html_url":"https://github.com/schtibe","followers_url":"https://api.github.com/users/schtibe/followers","following_url":"https://api.github.com/users/schtibe/following{/other_user}","gists_url":"https://api.github.com/users/schtibe/gists{/gist_id}","starred_url":"https://api.github.com/users/schtibe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schtibe/subscriptions","organizations_url":"https://api.github.com/users/schtibe/orgs","repos_url":"https://api.github.com/users/schtibe/repos","events_url":"https://api.github.com/users/schtibe/events{/privacy}","received_events_url":"https://api.github.com/users/schtibe/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T11:16:29Z","updated_at":"2016-12-16T11:16:29Z","body":"Thanks for your elaborate response!\r\n\r\n> What's the benefit over clipmenu && xdotool key shift+Insert\r\n\r\nGood question. Implementing this turned out to be way easier than anticipated.  One benefit I see is that it would be available for all users that don't come up with the idea by themselves. But this could of course be solved by adding it to the README as well!\r\nSomething else: are all WMs capable of concatting commands when making a key binding? (It could still be done via intermediat script though)\r\n\r\nA real benefit of having it in the code would maybe arise when we consider other implementations than Shift+Insert, as you mentionned in 4.\r\n\r\nFYI I was told that Shift+Insert was the most common inserting shortcut found in applications. I also considered sending the selection as text, but I wonder if this leads to encoding errors and the like.\r\n\r\nAnyway I absolutely concur with your considerations and wouldn't mind you rejecting this patch. I like the Unix philosophy after all ;)\r\n"}}
{"actor":{"display_login":"schtibe"}}