Git Mode
A Git mode plugin built using the ShellCommand plugin, which makes customisation and adding new commands, super easy.
Details
Installs
- Total 5K
- Win 3K
- Mac 1K
- Linux 1K
Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
GitMode
A Git mode plugin for Sublime Text 3 that uses the ShellCommand plugin to make customisation and enhancement super easy.
This plugin uses Sublime Text ShellCommand to provide its functionality, and consists mainly of commands, key bindings and syntax files. This makes it incredibly easy to change and enhance the core functionality, as well as add personal preferences, without getting into too much coding.
Why?
The Git plugin is great, but:
- it relies on a great deal of code for its functionality, yet a lot of this functionality is boiler-plate and could be easily factored out;
GitMode
usesShellCommand
which is a factoring of this kind of boilerplate code, plus a few other features; - relying on code for functionality, rather than configuration, makes it difficult to contribute to and to customise. This is especially frustrating for small features;
- the
Git
plugin uses slightly different terminology to Git itself, which seems unnecessary.
The SublimeGit plugin is also nice, but it costs money and is not open source.
How to use GitMode
The main point of interaction for GitMode
is a generated buffer that contains the status of a Git repo. This buffer can be created by running the GitMode: status
command in a project that contains a Git repo. The buffer will look something like this:
Changelog
2015-02-13 (v0.2.1)
Add missing blank line to README to ensure list shows correctly.
2015-02-13 (v0.2.0)
Locating repo directory needs to use proper working directory. (Fixes #5.) Add references to settings files on menus. (Closes #11.) Status command is failing due to incorrect 'echo' syntax. (Fixes #10.)
2015-01-04 (v0.1.2)
Add platform-specific blank line command. (Fixes #2.) Remove quotes in status commands. (Fixes #3.) Disable status command when not in a Git repo. (Closes #4.)
2015-01-04 (v0.1.1)
Fix file name for messages.json
. Fixes issue #1.