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

Installs

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