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

  • 2018.02.03.00.07.01
  • github.​com
  • github.​com
  • 3 weeks ago
  • 20 hours ago
  • 6 years ago

Installs

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

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