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
  • 2 months ago
  • 48 minutes ago
  • 6 years ago

Installs

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

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