vim-to-github
vim-to-github copied to clipboard
Add :ToGithubBlame to open blame route for same file location
Closes https://github.com/tonchis/vim-to-github/issues/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...
...we can also use this "blame" route:
https://github.com/tonchis/vim-to-github/blame/9ea9c75b6cd48bd42823a39c56a05a2ff8161536/plugin/to-github.vim#L51-L59