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
  • 3 months ago
  • 45 minutes ago
  • 6 years ago

Installs

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