- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 44
Description
Is your feature request related to a problem? Please describe.
I'd love to have multiple mappings for either opening in browser or just copying to clipboard. Right know you just can have one at the time. This is annoying and frustrating because if I set default callback to be copy to clipboard, then I can't open in browser in case I need or want to (or vice versa) For that, I would need to go into my config, change the default callback, compile packer, reload neovim and finally in can open in browser . Of course I can copy the link to my browser and open it, but it would be super nice to have multiple mappings for that.
One other feature that would be cool, is just opening the homepage for a repo. I don't know how difficult is this to implement but I guess that most of the url parsing is already done.
Describe the solution you'd like
Add options to have multiple mappings for different actions and not just one.
Describe alternatives you've considered
I don't know of other alternatives.
Additional context
I tried creating my own mappings by doing something like lua require"gitlinker.actions".copy_to_clipboard() but this gave an error and mapping to open_in_browser didn't do anything.