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

Git​Link

by rscherf ALL

Open your Sublime Text files on GitHub, Bitbucket, Gitlab or Codebase

Details

  • 0.9.0
  • ryan.​sc
  • github.​com
  • 8 months ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 4K
  • Win 1K
  • Mac 2K
  • Linux 897
May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 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
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 1 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 1 0 0 0 1 0 1 0 2 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 0
Linux 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 2 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

This repository is looking for a new maintainer

GitLink

Sublime Text plugin to derive shareable 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

How it works

Right click in side menu Right click in a file

Or search for “GitLink” in the Command Palette

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 the Git repository directly: * Mac: * cd ~/Library/Application Support/Sublime Text/Packages/ * Linux: * cd ~/.config/sublime-text/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