# Sublime Text 2 and 3 Gitignore plug-in ### Sublime Text 2 and 3 plug-in for fetching gitignore boilerplates from [the collection of gitignore boilerplates by Github](https://github.com/github/gitignore) ### How it works Press ```Cmd + Shift + P``` for Mac and ```Ctrl + Shift + P``` for Linux/Windows
Write ```Gitignore``` and select ```Gitignore: new gitignore``` Then select the desired gitignore boilerplate. Now select another boilerplate. When you are done, select ```Done```. Save the newly open file as something.gitignore and your done! ## Installation Install via package control ### Or #### Linux ``` git clone https://github.com/theadamlt/Sublime-Gitignore ~/.config/sublime-text-2/Packages/Gitignore ``` #### Windows ``` git clone https://github.com/theadamlt/Sublime-Gitignore %APPDATA%/Sublime\ Text\ 2/Packages/Gitignore ``` #### Mac ``` git clone https://github.com/theadamlt/Sublime-Gitignore ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Gitignore ```
The plugin is inspired by [gibo](https://github.com/simonwhitaker/gitignore-boilerplates) so thanks to Simon Whitaker.