Skip to content

Add :ToGithubBlame to open blame route for same file location#15

Open
synthead wants to merge 2 commits intotonchis:masterfrom
synthead:add-ToGithubBlame
Open

Add :ToGithubBlame to open blame route for same file location#15
synthead wants to merge 2 commits intotonchis:masterfrom
synthead:add-ToGithubBlame

Conversation

@synthead
Copy link
Copy Markdown

Closes #14!

This PR adds :ToGithubBlame so users can open the "blame" route in GitHub for the same file location.

This is achieved simply by replacing "blob" with "blame" in the URL. For example, for this "blob" route...

https://github.com/tonchis/vim-to-github/blob/9ea9c75b6cd48bd42823a39c56a05a2ff8161536/plugin/to-github.vim#L51-L59

...we can also use this "blame" route:

https://github.com/tonchis/vim-to-github/blame/9ea9c75b6cd48bd42823a39c56a05a2ff8161536/plugin/to-github.vim#L51-L59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add :ToGithubBlame to open GitHub blame route

2 participants