snacks.nvim
snacks.nvim copied to clipboard
feature: (gitbrowse) set a default remote
Did you check the docs?
- [x] I have read all the snacks.nvim docs
Is your feature request related to a problem? Please describe.
I work in some repos with multiple remotes, and triggering Snacks.gitbrowse.open()
always shows the picker to choose which origin to use.
I only care about origin
99.9% of the time.
Describe the solution you'd like
- Set
snacks.gitbrowse.Fields.remote
toorigin
by default and allow it to be overridden - Or
snacks.gitbrowse.Fields.remote
tonil
by default (to maintain current behavior) and allow it to be overridden
Describe alternatives you've considered
Getting rid of the remotes is not an option and I don't think there is a way around this in the current state?
Additional context
No response