Git Product home page Git Product logo

gitlink's Introduction

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:

Written by Ryan Scherf : http://ryan.sc - http://twitter.com/ryanscherf

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 [email protected]: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

gitlink's People

Contributors

rscherf avatar naro avatar mpvharmelen avatar fredericosilva avatar ushuz avatar ironin avatar personalcomputer avatar akrabat avatar joseramonc avatar mbobin avatar boycce avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.