GitHubinator
Sublime Text plugin that shows selected text on remote GitHub or Bitbucket repo
Details
Installs
- Total 26K
- Win 10K
- Mac 11K
- Linux 5K
Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 2 | 3 | 7 | 4 | 1 | 4 | 1 | 5 | 1 | 2 | 3 | 3 | 7 | 2 | 3 | 3 | 4 | 3 | 2 | 3 | 2 | 2 | 2 | 3 | 0 | 4 | 4 | 6 | 3 | 2 | 2 | 2 | 1 | 1 | 4 | 2 | 3 | 1 | 2 | 3 | 3 | 8 | 5 | 4 | 1 |
Mac | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 2 | 3 | 1 | 0 | 1 | 3 | 3 | 4 | 2 | 2 | 1 | 0 | 0 | 0 | 2 | 2 | 5 | 1 | 0 | 0 | 2 | 4 | 4 | 2 | 1 | 3 | 0 | 3 | 2 | 3 | 1 | 3 | 1 | 0 | 2 | 8 | 3 | 3 | 1 |
Linux | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 2 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 2 | 2 | 4 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 3 | 1 | 2 | 2 | 0 | 0 | 2 | 2 | 0 | 4 | 1 | 0 | 3 | 1 | 0 | 1 | 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 or use GitHub Enterprise, you can configure remote and host in the Githubinator.sublime-settings
file:
{
"default_remote": "origin",
"default_host": "github.com"
}
To change the branch name, edit Default.sublime-commands
.
For example, to change the branch name from master
to main
, edit the following as such:
From:
{
"caption": "GitHubinator Blame on Master",
"command": "githubinator",
"args": { "permalink": false, "mode": "blame", "branch": "master" }
},
To:
{
"caption": "GitHubinator Blame on Main",
"command": "githubinator",
"args": { "permalink": false, "mode": "blame", "branch": "main" }
},
Usage
Select some text. Activate the context menu and select “GitHubinator” or by keypress (⌘\ by default, configurable in .sublime-keymap file).