git-link

Easily get the repository link to the current file, line or a selection

keevan

31

1

0.8.0

MIT

GitHub

This package consumes the following services:

🔗 git-link

Easily get the repository link to the current file, line or a selection

APM GitHub Workflow Status GitHub issues APM GitHub GitHub code size in bytes

Demo

Requirements

You must have git installed.

Quick Start

CLI:

apm install git-link

Or search for the git-link package via Settings > Packages. Read more on Atom Packages.

Supported platforms

Please add an issue if you need support for a platform not mentioned above.

Features

Command list

No keymaps are currently set by default.

I recommended you configure your own keybindings and use what is comfortable for you. You can do this by going to Settings > Keybindings or open it from the Command Pallete using Application: Open Your Keymap.

Command List Description
git-link:copy-link-to-line Copy a link to the current line
git-link:copy-link-to-selection Copy a link to the current selection
git-link:copy-link-to-file Copy a link to the current file
git-link:copy-link-to-repository Copy a link to the current repository
git-link:open-line-in-browser Open the current line in browser
git-link:open-selection-in-browser Open the current selection in browser
git-link:open-file-in-browser Open the current file in browser
git-link:open-repository-in-browser Open the current repository in browser
git-link:edit-line-in-browser Edit current line in browser
git-link:edit-selection-in-browser Edit current selection in browser
git-link:edit-file-in-browser Edit current file in browser

Tips

Personally, I got the most value out of this by:

Permalinks are possible only if changes are available remotely (changes have been pushed).

Contributing

Please take a look at our contributing guidelines if you're interested in helping out!

Pending features

Support

If you like or found this project helpful, please leave a star and consider supporting it for further development.

Donate using Liberapay Buy Me A Coffee Buy Me a Coffee at ko-fi.com

License

GitHub