Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sublime Text 2 plugin that shows selected ST2 text on GitHub
Python
Branch: master
Pull request Compare This branch is 33 commits behind ehamiter:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Context.sublime-menu
Default (OSX).sublime-keymap
Default.sublime-commands
Githubinator.sublime-settings
README.md
githubinator.py

README.md

GitHubinator*

*With regards to Dr. Heinz Doofenshmirtz

This will allow you to select text in a Sublime Text 2 file, and see the highlighted lines on GitHub's remote repo, if one exists.

Screenshot

Installation

If you use Package Control, just install it from there. If not:

Clone this repo to your Sublime Text 2 Packages folder:

cd ~/"Library/Application Support/Sublime Text 2/Packages/"
git clone https://github.com/ehamiter/ST2-GitHubinator.git

The plugin should be picked up automatically. If not, restart Sublime Text.

Configuration

The defaults should work for most setups, but if you have a different remote name, you can configure it in the Githubinator.sublime-settings file:

{
  "default_remote": "origin"
}

Usage

Select some text. Activate the context menu and select "GitHubinator" or by keypress (⌘\ by default, configurable in .sublime-keymap file).

Something went wrong with that request. Please try again.