{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1923","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1923/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1923/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1923/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/1923","id":86966459,"number":1923,"title":"There should be a way to opt-out of Yasnippet default snippets","user":{"login":"gnzlbg","id":904614,"avatar_url":"https://avatars.githubusercontent.com/u/904614?v=3","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T13:13:06Z","updated_at":"2015-06-10T14:25:41Z","closed_at":null,"body":"When I create a private snippet, is because I intend to use it often. That is, I want to write the snippet key, hit `M-/` and have it expanded. \r\n\r\nHowever, when the key has a name clash with one of the default snippets, I have to `M-/`, hit `down` multiple times to select the snippet, and then hit `RET`. \r\n\r\nThis is a real pain at least with c++ default snippets since they have keys with extremely common names that I would like to also use (`for`, `once`, `ns`, `struct`, ....)."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/110773156","html_url":"https://github.com/syl20bnr/spacemacs/issues/1923#issuecomment-110773156","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1923","id":110773156,"user":{"login":"tuhdo","id":4818719,"avatar_url":"https://avatars.githubusercontent.com/u/4818719?v=3","gravatar_id":"","url":"https://api.github.com/users/tuhdo","html_url":"https://github.com/tuhdo","followers_url":"https://api.github.com/users/tuhdo/followers","following_url":"https://api.github.com/users/tuhdo/following{/other_user}","gists_url":"https://api.github.com/users/tuhdo/gists{/gist_id}","starred_url":"https://api.github.com/users/tuhdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuhdo/subscriptions","organizations_url":"https://api.github.com/users/tuhdo/orgs","repos_url":"https://api.github.com/users/tuhdo/repos","events_url":"https://api.github.com/users/tuhdo/events{/privacy}","received_events_url":"https://api.github.com/users/tuhdo/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T14:25:41Z","updated_at":"2015-06-10T14:25:41Z","body":"You can customize `yas-snippet-dirs` to exclude the default snippet dir. If you want to use other snippets, then after deleting the path in `yas-snippet-dirs`, then clone the snippet in this [repo](https://github.com/AndreaCrotti/yasnippet-snippets) somewhere and delete `c++` snippets there. Then add the path to that directory to `yas-snippet-dirs`."}}