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.03.08.14.52.37
  • github.​com
  • github.​com
  • 6 months ago
  • 54 minutes ago
  • 7 years ago

Installs

  • Total 15K
  • Win 4K
  • OS X 8K
  • Linux 3K
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 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7
Windows 1 7 7 8 7 5 11 4 8 6 11 5 11 7 9 10 1 2 6 2 12 8 6 5 5 5 4 4 9 4 3 6 9 7 8 7 11 6 2 2 9 4 8 5 2 0
OS X 0 5 2 4 3 5 10 8 12 3 0 9 5 5 6 10 1 4 7 2 8 8 4 3 3 9 7 8 4 4 1 5 6 6 5 5 6 1 3 4 6 9 3 6 6 2
Linux 0 3 1 4 5 1 1 8 5 2 2 7 5 2 5 1 2 5 3 2 2 1 1 2 0 2 2 4 11 9 1 1 1 1 5 3 6 4 3 7 5 7 7 2 4 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).