Open version-controlled code from Emacs in your web browser.
Use elsewhere.el
to open a file (or a marked region of a file) as a permalinked webpage in your browser.
Table of Contents
Open a version-controlled file, (optionally) mark a region in the file, and execute M-x elsewhere-open
. You should see a webpage open in your browser. If you want the URL but you don't want to automatically open it in your browser, then try M-x elsewhere-build-url
instead. With that command, you should see the URL in your echo area.
Important
Currently, elsewhere.el
requires Emacs version 29.1
or newer. You can check your Emacs version by typing M-x emacs-version
.
The git-link
package is similar to elsewhere.el
. There are several minor differences between that package and elsewhere.el
, but the primary benefit of elsewhere.el
is that it supports multiple version control back ends other than Git. In fact, since elsewhere.el
is built on top of the built-in vc
package, support could theoretically be added for any back end listed here.