NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
3.64k stars 218 forks source link

Open Current Branch in Browser #1327

Closed derethil closed 1 month ago

derethil commented 1 month ago

Is your feature request related to a problem? Please describe. As far as I know, there is no current way to open the current branch in the browser from Neogit. This is something I do quite often to quickly start going through issues, PRs, etc. Before primarily moving to Neogit I had been using git-open to accomplish this.

Describe the solution you'd like It makes the most sense to me to remap the existing b o to do this since the action is simply opening the branch URL. Opening a new pull request link is slightly different and hence could be remapped to b p or something.

Describe alternatives you've considered Alternatively, if remapping an existing action is an issue, a keymap that doesn't conflict with the current actions could be implemented as well.

Additional context N/A

CKolkey commented 1 month ago

Good call! Bound to o on the status buffer.