git-link
git-link copied to clipboard
Incosistent C-u C-u behavior across git-link{,-homepage,-commit}
- C-u C-u git-link flips git-link-use-commit
- C-u C-u git-link-homepage opens the homepage with browse-url ✅
- C-u C-u git-link-commit flips git-link-use-commit
Would it be possible to make the already existing behavior of C-u C-u git-link-homepage be consistent among all three commands? It could be under negative prefix, e.g. C-u - to avoid having to shift around all the existing multi-prefix meaning in all the commands.
It's really useful to support both browse-url and copy-only workflows at the same time
Yes I see. Makes sense to normalize. C-uC-u seems like a nicer approach but, compatibility aside, what is the more common action: flip git-link-use-commit on open URL? Not sure.
I think C-u- is only used for linking without a line number, which felt like a good mnemonic since it's less the line number.