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

Git​Hubinator

by ehamiter ALL

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

Details

  • 2022.12.06.00.28.46
  • github.​com
  • github.​com
  • 4 hours ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 27K
  • Win 11K
  • Mac 11K
  • Linux 5K
Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 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
Windows 1 5 0 11 6 4 4 3 7 3 1 7 2 4 2 5 2 3 3 4 2 1 6 4 4 0 2 5 6 4 1 3 5 4 1 1 2 2 3 6 2 3 2 1 2 3
Mac 0 3 0 2 4 5 2 2 0 0 1 1 0 2 0 2 2 0 2 3 1 2 0 0 1 2 4 1 3 0 0 0 0 5 1 2 2 1 1 4 3 3 1 0 0 0
Linux 0 0 1 1 2 1 0 1 2 1 0 1 1 0 1 1 0 0 1 2 2 1 4 1 0 0 1 1 0 0 2 0 0 0 0 1 1 1 0 0 3 0 1 0 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 (ST3 example shown below):

cd ~/"Library/Application Support/Sublime Text 3/Packages/"
git clone https://github.com/ehamiter/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, use GitHub Enterprise or default branch, you can configure remote, host, and default branch in the Githubinator.sublime-settings file:

{
  "default_remote": "origin",
  "default_host": "github.com",
  "default_branch": "master"
}

Usage

Select some text. Activate the context menu and select “GitHubinator” or by keypress (⌘\ by default, configurable in .sublime-keymap file).