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
  • 10 months ago
  • 31 minutes ago
  • 12 years ago

Installs

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

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