ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Git​Hubinator

by ehamiter ST2/ST3

Sublime Text plugin that shows selected text on remote GitHub or Bitbucket repo

Details

  • 2017.09.15.15.49.56
  • github.​com
  • github.​com
  • 4 days ago
  • 59 minutes ago
  • 6 years ago

Installs

  • Total 12K
  • Win 3K
  • OS X 6K
  • Linux 2K
Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6
Windows 0 4 5 4 5 5 5 2 3 2 5 1 2 2 6 4 2 3 0 2 3 1 3 5 2 3 2 4 0 2 4 1 2 2 2 5 2 0 1 0 2 0 6 1 3 2
OS X 1 13 7 3 2 20 19 13 4 3 0 1 4 6 6 9 1 2 1 5 4 2 4 6 0 2 3 8 6 6 6 4 2 6 1 0 5 2 4 1 2 4 4 6 2 2
Linux 0 1 4 2 1 4 0 3 0 1 1 1 3 1 1 0 2 3 1 1 4 0 0 1 2 1 1 3 2 1 1 2 1 3 2 4 4 1 0 2 1 2 1 2 0 0

Readme

Source
raw.​githubusercontent.​com

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).