Simple Sublime Text 2 / GitX integration plugin
Latest commit fbc6c18 Mar 31, 2014 @fabiocorneti Merge pull request #3 from timmfin/master
Fix for when  `locale.getpreferredencoding(do_setlocale=True)` returns an empty string
Failed to load latest commit information.
Base File.sublime-settings
Default.sublime-commands gitx_open command Jan 4, 2012



Very simple plugin to open GitX ( from Sublime Text 2 and 3 (


Using Git: Clone the repository in your Sublime Text Packages directory and restart Sublime Text:

git clone

Using the Package Control plugin: The easiest way to install SublimeTextGitX is through Package Control, which can be found at .

Once you install Package Control, restart Sublime Text 2 and open the Command Palette.

Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select SublimeTextGitX when the list appears.

The advantage of using this method is that Package Control will automatically keep this plugin up to date.


Open GitX and enable terminal usage by clicking on the GitX menu and then on Enable Terminal Usage...; GitX will create an executable named gitx inside /usr/local/bin.

Open the command palette and execute the GitX: Open GitX command to open the GIT repository in which the currently opened file is located.

Sample user key binding to execute the command:

{ "keys": ["super+."], "command": "gitx_open" }


Additional settings can be configured in the User File Settings:

gitx_path: the path to the gitx executable (default: "/usr/local/bin/gitx")


v0.1 (01-04-2011):

  • Initial version

v0.2.0 (01-16-2014):

  • Updated README about ST3 compatibility


See the LICENSE.txt file.