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

Ggu

by hxjuneja ST2

Get Git URL is a Sublime-text plugin that generates Github remote repo URL.

Details

  • 2013.10.09.13.12.36
  • github.​com
  • github.​com
  • 11 years ago
  • 41 minutes ago
  • 11 years ago

Installs

  • Total 40
  • Win 10
  • Mac 17
  • Linux 13
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 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

About

Get Git Url (GGU) is a Sublime-Text plugin that generate Github URL of the file you are on, from your editor and paste it to clipboard.

Usage

I want my editor to quickly generate the Github URL for me without jumping to the browser to yank the URL of file.

So I made this.

Install

Package Control

The easiest way to install this is with Package Control.

  • If you just went and installed Package Control, you probably need to restart Sublime Text 2 before doing this next bit.
  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select “Package Control: Install Package” (it'll take a few seconds)
  • Select GGU when the list appears.

Other Methods

OSX

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/kemayo/GGU-SL.git

Linux

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/kemayo/sublime-text-2-git.git Git

Get Started

  1. Configure GGU:

Before you can start you need to edit ggu.sublime-setting.py.

  1. Generate remote repo URL

    1. Go to the file in a git repo.
    2. press ctrl + alt + r
    3. Choose your remote repo.
    4. Boom! you are free to paste the URL.

  1. Quickly Generate URL -

    1. Go to the file in a git repo.
    2. press ctrl + alt + g
    3. Boom! you are free to paste the URL.

Note - This automatically detect your current branch you are working on

  1. You are free to change the key bindings.

Thats It!! Enjoy.