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
  • 1 hour ago
  • 11 years ago

Installs

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