Sublime Text 2 and 3 plug-in for fetching gitignore boilerplates from the collection of gitignore boilerplates by Github
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!
Install via package control
git clone https://github.com/theadamlt/Sublime-Gitignore ~/.config/sublime-text-2/Packages/Gitignore
git clone https://github.com/theadamlt/Sublime-Gitignore %APPDATA%/Sublime\ Text\ 2/Packages/Gitignore
git clone https://github.com/theadamlt/Sublime-Gitignore ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Gitignore
The plugin is inspired by gibo so thanks to Simon Whitaker.