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
  • 2 hours ago
  • 11 years ago

Installs

  • Total 40
  • Win 10
  • Mac 17
  • Linux 13
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 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
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.