{"action":"created","issue":{"url":"https://api.github.com/repos/JoshCheek/seeing_is_believing/issues/137","repository_url":"https://api.github.com/repos/JoshCheek/seeing_is_believing","labels_url":"https://api.github.com/repos/JoshCheek/seeing_is_believing/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/JoshCheek/seeing_is_believing/issues/137/comments","events_url":"https://api.github.com/repos/JoshCheek/seeing_is_believing/issues/137/events","html_url":"https://github.com/JoshCheek/seeing_is_believing/issues/137","id":351438147,"node_id":"MDU6SXNzdWUzNTE0MzgxNDc=","number":137,"title":"Running `seeing_is_believing` for the selected line","user":{"login":"sameera207","id":98407,"node_id":"MDQ6VXNlcjk4NDA3","avatar_url":"https://avatars3.githubusercontent.com/u/98407?v=4","gravatar_id":"","url":"https://api.github.com/users/sameera207","html_url":"https://github.com/sameera207","followers_url":"https://api.github.com/users/sameera207/followers","following_url":"https://api.github.com/users/sameera207/following{/other_user}","gists_url":"https://api.github.com/users/sameera207/gists{/gist_id}","starred_url":"https://api.github.com/users/sameera207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameera207/subscriptions","organizations_url":"https://api.github.com/users/sameera207/orgs","repos_url":"https://api.github.com/users/sameera207/repos","events_url":"https://api.github.com/users/sameera207/events{/privacy}","received_events_url":"https://api.github.com/users/sameera207/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-17T02:46:16Z","updated_at":"2018-09-04T12:29:39Z","closed_at":"2018-09-04T12:29:39Z","author_association":"NONE","body":"Hey @JoshCheek ,\r\n\r\nFirst off, thanks the this awesome plugin, \r\n\r\nQuick question.. ( I'm sure I must be doing something wrong here), but I cannot get this work only for selected lines in vim. \r\n\r\nCurrently I got it working for the entire file. But what I want is for it to run on the line where my cursor is on.\r\n\r\nSo, following is a screen record of what's happening. I'm doing..\r\n\r\n```\r\n- <leader>z  # to select the line\r\n- <leader>b # to run seeing_is_believing on the current line\r\n```\r\n![2018-08-17 12 38 50](https://user-images.githubusercontent.com/98407/44245131-9ce67b00-a21a-11e8-8279-2323b4cf5f7f.gif)\r\n\r\nas you can see, instead of running the line with current cursor on, it runs the full file. \r\n\r\nFollowing is my `.vimrc` mappings\r\n\r\n```\r\n\" ===== Seeing Is Believing =====                                                                                                                                                                 \r\n\" Assumes you have a Ruby with SiB available in the PATH                                                                                                                                          \r\n\" If it doesn't work, you may need to `gem install seeing_is_believing`                                                                                                                           \r\n                                                                                                                                                                                                    \r\n\" Annotate every line                                                                                                                                                                             \r\nnmap <leader>b :%!seeing_is_believing --timeout 12 --line-length 500 --number-of-captures 300 --alignment-strategy chunk<CR>;                                                                     \r\n\" Annotate marked lines                                                                                                                                                                           \r\nnmap <leader>n :%.!seeing_is_believing --timeout 12 --line-length 500 --number-of-captures 300 --alignment-strategy chunk --xmpfilter-style<CR>;                                                  \r\n\" Remove annotations                                                                                                                                                                              \r\nnmap <leader>c :%.!seeing_is_believing --clean<CR>;                                                                                                                                               \r\n\" Mark the current line for annotation                                                                                                                                                            \r\nnmap <leader>z A # => <Esc> \r\n\r\n```\r\nAny help would be much appreciated\r\n\r\ncheers\r\n \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JoshCheek/seeing_is_believing/issues/comments/418348852","html_url":"https://github.com/JoshCheek/seeing_is_believing/issues/137#issuecomment-418348852","issue_url":"https://api.github.com/repos/JoshCheek/seeing_is_believing/issues/137","id":418348852,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODM0ODg1Mg==","user":{"login":"sameera207","id":98407,"node_id":"MDQ6VXNlcjk4NDA3","avatar_url":"https://avatars3.githubusercontent.com/u/98407?v=4","gravatar_id":"","url":"https://api.github.com/users/sameera207","html_url":"https://github.com/sameera207","followers_url":"https://api.github.com/users/sameera207/followers","following_url":"https://api.github.com/users/sameera207/following{/other_user}","gists_url":"https://api.github.com/users/sameera207/gists{/gist_id}","starred_url":"https://api.github.com/users/sameera207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameera207/subscriptions","organizations_url":"https://api.github.com/users/sameera207/orgs","repos_url":"https://api.github.com/users/sameera207/repos","events_url":"https://api.github.com/users/sameera207/events{/privacy}","received_events_url":"https://api.github.com/users/sameera207/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T12:29:39Z","updated_at":"2018-09-04T12:29:39Z","author_association":"NONE","body":"closing the issue as the suggested solution works :)"}}
{"actor":{"display_login":"sameera207"}}