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

  • 2023.11.07.16.51.18
  • github.​com
  • github.​com
  • 1 year ago
  • 2 hours ago
  • 13 years ago

Installs

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

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