{"action":"opened","issue":{"url":"https://api.github.com/repos/tpope/vim-fugitive/issues/802","repository_url":"https://api.github.com/repos/tpope/vim-fugitive","labels_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/802/labels{/name}","comments_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/802/comments","events_url":"https://api.github.com/repos/tpope/vim-fugitive/issues/802/events","html_url":"https://github.com/tpope/vim-fugitive/issues/802","id":158133270,"number":802,"title":"using lcd %:p:h in BufEnter with fugitive","user":{"login":"gauteh","id":56827,"avatar_url":"https://avatars.githubusercontent.com/u/56827?v=3","gravatar_id":"","url":"https://api.github.com/users/gauteh","html_url":"https://github.com/gauteh","followers_url":"https://api.github.com/users/gauteh/followers","following_url":"https://api.github.com/users/gauteh/following{/other_user}","gists_url":"https://api.github.com/users/gauteh/gists{/gist_id}","starred_url":"https://api.github.com/users/gauteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauteh/subscriptions","organizations_url":"https://api.github.com/users/gauteh/orgs","repos_url":"https://api.github.com/users/gauteh/repos","events_url":"https://api.github.com/users/gauteh/events{/privacy}","received_events_url":"https://api.github.com/users/gauteh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-02T12:52:45Z","updated_at":"2016-06-02T12:52:45Z","closed_at":null,"body":"Hi, I've seen in other issues that the autocommand:\r\n\r\n`au BufEnter * lcd %:p:h` doesn't work with fugitive. Is there any way to filter on the command so that it isn't run for fugitive stuff? something like: \r\n\r\n`au BufEnter * if (&ft != 'qf') | lcd %:p:h`\r\n\r\n?"}}
{"actor":{"display_login":"gauteh"}}