Skip to content

kidd/org-protocol-github-lines

Repository files navigation

org-protocol-github-lines

The purpose of this plugin is to make it easier to switch from your browser to emacs when looking at code reviews blogpost and demo

./button.png

Requirements

  • org-mode
  • org-protocol

Manual and usage

In github pull request views, add an emacs button that makes emacs open that file/line. blogpost and demo

At some point it got support for bitbucket repos also but it hasn’t been updated in a while. PRs welcome.

Code

Firefox/Chrome

Use tampermonkey or whatever other *monkey in your browser to add userscripts.

Install ./browser/edit-with-emacs.js to add the “Open with emacs” button on code comments.

Install ./browser/org-protocol-github-repo.user.js to add a “Clone” button on the main pages of repos.

./clone-button.png

OS

os/xdg-open Predefine org-protocol to open emacsclient

If you use Firefox:

Emacs

org-protocol-github-lines.el contains the code to open the actual file

Authors & contribs

About

Add links in github code views that open files in the given line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published