Sublime Text plugin that shows selected text on remote GitHub or Bitbucket repo
Python
Switch branches/tags
Nothing to show
Clone or download
ehamiter Merge pull request #61 from tmosmant/master
Mark @ as safe for username
Latest commit 9847e3d Mar 8, 2018
Permalink
Failed to load latest commit information.
.gitignore Update quotes for consistency and rename variable `http` to `scheme` … Jan 4, 2016
Context.sublime-menu Update Context.sublime-menu Sep 15, 2017
Default (Linux).sublime-keymap Keymaps for all platforms Mar 21, 2015
Default (OSX).sublime-keymap Keymaps for all platforms Mar 21, 2015
Default (Windows).sublime-keymap Keymaps for all platforms Mar 21, 2015
Default.sublime-commands
Githubinator.sublime-settings Allow custom hosts for GitHub Enterprise Support May 1, 2013
LICENSE Add MIT license Jul 8, 2014
README.md Update README.md Dec 5, 2016
githubinator.py mark @ as safe for username Mar 8, 2018

README.md

GitHubinator*

*With regards to Dr. Heinz Doofenshmirtz

This will allow you to select text in a Sublime Text 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 Packages folder (ST2 example shown below):

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 or use GitHub Enterprise, you can configure remote and host in the Githubinator.sublime-settings file:

{
  "default_remote": "origin",
  "default_host": "github.com"
}

Usage

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