Giter Site home page Giter Site logo

sublime-gitignore's Introduction

Sublime Text 2 Gitignore plug-in

Sublime Text 2 plug-in for fetching gitignore boilerplates from the collection of gitignore boilerplates by Github

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 so thanks to Simon Whitaker.

sublime-gitignore's People

Contributors

kevinxucs avatar theadamlt avatar thomas-lebeau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sublime-gitignore's Issues

Package control getting an error 400

When installing via package control, I encountered this error:

Package Control: Error downloading package. HTTP error 400 downloading https://codeload.github.com/theadamlt/Sublime-Gitignore/zipball/master.
error: Package Control

Unable to download Gitignore. Please view the console for more details.

I'm not sure if this is on your end, but I figured you'd want to know anyway.

I encountered this using ST2.

How to add my gitignore file

I use the sublime to write latex doc forked from overleaf and the gitignore file of overleaf differs from the standard latex gitignore. Thus I wanna know how to add my own gitignore file into this program. I found just adding it to biolerplates doesn't work.

ST3 problem ?

Got a

y/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-keymap with encoding UTF-8 (atomic)
found 14 files for base name Default.sublime-keymap
Traceback (most recent call last):
  File "/Users/joseph/Library/Application Support/Sublime Text 3/Packages/GitIgnore/gitignore.py", line 77, in second_select
    self.write_file()
  File "/Users/joseph/Library/Application Support/Sublime Text 3/Packages/GitIgnore/gitignore.py", line 88, in write_file
    text = self._loadfile(bp + ".gitignore")
  File "/Users/joseph/Library/Application Support/Sublime Text 3/Packages/GitIgnore/gitignore.py", line 47, in _loadfile
    text = f.read().decode()
AttributeError: 'str' object has no attribute 'decode'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.