vim-github-url
vim-github-url copied to clipboard
What do you think of specifying a branch?
This is really handy, but sometimes when I use this, I want to use a branch that I'm not on. I might be working on a specific branch that isn't pushed. If I run this as is, I get a link that'll give anyone a 404. I want to be able to stay on my own dirty branch and jump to a file I'm not touching and generate link to the repo, file and line on the main branch.
This shouldn't be the default behavior, but it's an edge case I'd like it to support. I could raise a PR to do this, but I'm not sure if you have any interest at all in having this in the plugin, so I thought I'd check first.
I'm open to a PR to add this feature. Are you thinking it would be :GitHubURL main
or something else? Thanks.