I'm tired to walk through Github/Bitbucket -> find required file, select particular branch and stand on required line. This package provides simple function may be called from emacs buffer, and opens target page.
Works only for git-repos and Github/Bitbucket hosted repositories.
p.s. This is openatgithub.el project reincornation.
Add browse-at-remote
to your Cask file::
(depends-on "browse-at-remote")
Simply add this package to your emacs path, and add to .emacs
,:
(require 'browse-at-remote)
Active keybindings for browse-at-remote
function::
(global-set-key (kbd "C-c g g") 'browse-at-remote)
Call function from emacs buffer:
M-x browse-at-remote
or just call
C-c g g
if you've already added binding before. You can use this command in dired buffers too.Target page at github/bitbucket will be opened using your default browser:
or same here is folder view at bitbucket:
Opening github commit's page at magit-commit-mode, magit-log-mode:
- function browse-at-remote/to-clipboard were added
- Add mercurial support