{"action":"created","issue":{"url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/242","labels_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/242/comments","events_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/242/events","html_url":"https://github.com/airblade/vim-gitgutter/issues/242","id":64644971,"number":242,"title":"'[' mark (start of last change) is broken","user":{"login":"petermehle","id":1147046,"avatar_url":"https://avatars.githubusercontent.com/u/1147046?v=3","gravatar_id":"","url":"https://api.github.com/users/petermehle","html_url":"https://github.com/petermehle","followers_url":"https://api.github.com/users/petermehle/followers","following_url":"https://api.github.com/users/petermehle/following{/other_user}","gists_url":"https://api.github.com/users/petermehle/gists{/gist_id}","starred_url":"https://api.github.com/users/petermehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermehle/subscriptions","organizations_url":"https://api.github.com/users/petermehle/orgs","repos_url":"https://api.github.com/users/petermehle/repos","events_url":"https://api.github.com/users/petermehle/events{/privacy}","received_events_url":"https://api.github.com/users/petermehle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-26T22:10:32Z","updated_at":"2015-04-01T08:39:08Z","closed_at":"2015-04-01T08:39:08Z","body":"I am using `` `[v`] `` (select text that was pasted/edited) all the time and I found broken for the last few weeks. If I disable git-gutter, it works, otherwise it doesn't. As I said, it is not broken for a long time, so it must be one of the recent changes"},"comment":{"url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/comments/88394217","html_url":"https://github.com/airblade/vim-gitgutter/issues/242#issuecomment-88394217","issue_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/242","id":88394217,"user":{"login":"airblade","id":7265,"avatar_url":"https://avatars.githubusercontent.com/u/7265?v=3","gravatar_id":"","url":"https://api.github.com/users/airblade","html_url":"https://github.com/airblade","followers_url":"https://api.github.com/users/airblade/followers","following_url":"https://api.github.com/users/airblade/following{/other_user}","gists_url":"https://api.github.com/users/airblade/gists{/gist_id}","starred_url":"https://api.github.com/users/airblade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airblade/subscriptions","organizations_url":"https://api.github.com/users/airblade/orgs","repos_url":"https://api.github.com/users/airblade/repos","events_url":"https://api.github.com/users/airblade/events{/privacy}","received_events_url":"https://api.github.com/users/airblade/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T08:39:08Z","updated_at":"2015-04-01T08:39:08Z","body":"Before 0cb1e41 (see #232) vim-gitgutter handled realtime diffs by passing the buffer's contents as the second argument to `system()`.  That commit changed the mechanism to write the buffer's contents to a temp file instead.\r\n\r\nIt turns out that this has side-effects including resetting the ``'[`` and ``']`` marks.  The solution is to save and restore those marks explicitly (e098491)."}}