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

Git​Link

by rscherf ALL

Open your Sublime Text files on GitHub, Bitbucket or Codebase

Details

  • 0.5.1
  • ryan.​sc
  • github.​com
  • 3 weeks ago
  • 24 minutes ago
  • 6 years ago

Installs

  • Total 3K
  • Win 1K
  • Mac 1K
  • Linux 694
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 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16
Windows 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 1 1 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 2 1
Mac 0 1 1 2 1 2 1 1 2 0 1 0 0 0 0 1 0 0 0 1 0 1 1 3 2 1 3 0 0 4 0 1 0 0 0 1 1 0 0 1 1 0 0 0 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 2 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

GitLink

Sublime Text plugin to derive URLS to files in your source repositories. No more traversing your file structure finding the file you are working on. With support for: * http://github.com * http://bitbucket.org * https://about.gitlab.com * http://codebasehq.com

Written by Ryan Scherf : http://ryan.sc - http://twitter.com/ryanscherf * CodebaseHQ support by http://iRonin.pl * GitLab support by https://github.com/mbobin

How it works

Right click in side menu Right click in a file

Copy URLs to files

command + shift + c Right click any file in the sidebar (that is part of a Git repository) and go to the GitLink menu item to see options.

Copy URLs to files with a deeplink the line number

Right click anywhere within the file you are currently editing. Your cursor position determines which line number will be used for the deeplink.

Open URLs in your default browser as a new tab

command + shift + o Use your default web browser (Chrome) to skip a step and open any of the links automatically in a new tab.

Installation

The easiest is to install using Package control.

To install manually, you can clone Git repository directly: * cd ~/Library/Application Support/Sublime Text 2/Packages/ * git clone git@github.com:rscherf/GitLink.git * Restart Sublime Text

Configuration

To switch to generating permanent links that reference a git commit hash instead of branch name, add "gitlink_revision_type": "commithash" to your Preferences.sublime-settings file.

Contribute

GitHub and Sublime Text are powerful; I know all of you can make this way better than me.

  1. Fork/clone the repository
  2. Add whatever you'd like
  3. Submit a Pull Request

Copyright

  1. Star the Github repository
  2. Follow http://twitter.com/ryanscherf on Twitter and tell me how much you love this plugin
  3. Use it however you'd like