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:
Written by Ryan Scherf : http://ryan.sc - http://twitter.com/ryanscherf
- CodebaseHQ support by http://iRonin.pl
- GitLab support by https://github.com/mbobin
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.
Right click anywhere within the file you are currently editing. Your cursor position determines which line number will be used for the deeplink.
command + shift + o
Use your default web browser (Chrome) to skip a step and open any of the links automatically in a new tab.
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 [email protected]:rscherf/GitLink.git
- Restart Sublime Text
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.
GitHub and Sublime Text are powerful; I know all of you can make this way better than me.
- Fork/clone the repository
- Add whatever you'd like
- Submit a Pull Request
- Star the Github repository
- Follow http://twitter.com/ryanscherf on Twitter and tell me how much you love this plugin
- Use it however you'd like