{"action":"opened","issue":{"url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/303","repository_url":"https://api.github.com/repos/airblade/vim-gitgutter","labels_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/303/comments","events_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/303/events","html_url":"https://github.com/airblade/vim-gitgutter/issues/303","id":132198399,"number":303,"title":"Stop in gdiff","user":{"login":"nhooyr","id":10180857,"avatar_url":"https://avatars.githubusercontent.com/u/10180857?v=3","gravatar_id":"","url":"https://api.github.com/users/nhooyr","html_url":"https://github.com/nhooyr","followers_url":"https://api.github.com/users/nhooyr/followers","following_url":"https://api.github.com/users/nhooyr/following{/other_user}","gists_url":"https://api.github.com/users/nhooyr/gists{/gist_id}","starred_url":"https://api.github.com/users/nhooyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhooyr/subscriptions","organizations_url":"https://api.github.com/users/nhooyr/orgs","repos_url":"https://api.github.com/users/nhooyr/repos","events_url":"https://api.github.com/users/nhooyr/events{/privacy}","received_events_url":"https://api.github.com/users/nhooyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-08T16:59:34Z","updated_at":"2016-02-08T16:59:34Z","closed_at":null,"body":"Perhaps we should add the following to the readme or something to allow gitgutter to disable in diffs.\r\n\r\n```vim\r\n augroup diff\r\n   autocmd!\r\n   autocmd FilterWritePre * if &diff | set fdc=0 | GitGutterDisable | endif | echom expand(\"%:p:h\")\r\n   autocmd BufWinLeave fugitive://* if &diff | GitGutterEnable | endif\r\naugroup END\r\n```"}}