NeogitOrg / neogit

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

Open tab in browser on the pull request creating page #509

Closed timsofteng closed 5 months ago

timsofteng commented 1 year ago

Is your feature request related to a problem? Please describe. It is annoying to open github manually in browser after pushing something and to make PR.

Describe the solution you'd like Lazygit have cool feature. If you press o it triggers action which opens tab in browser for pull request creating.

CKolkey commented 1 year ago

It's a cool idea. Check out https://github.com/chrishrb/gx.nvim for a similar feature - You could even check out https://github.com/chrishrb/gx.nvim/blob/main/lua/gx/git.lua for how to get the remote URL from a repo and implement the function yourself :)