gitlinker.nvim
gitlinker.nvim copied to clipboard
Go to blame view
Is your feature request related to a problem? Please describe. Sometimes I want to copy the
Describe the solution you'd like I would like an additional mapping to copy (and also one to open in browser) the URL for the Blame view in GitHub, BitBucket etc.
Normal view:
https://github.com/ruifm/gitlinker.nvim/blob/master/doc/gitlinker.txt#L53
Blame view:
https://github.com/ruifm/gitlinker.nvim/blame/master/doc/gitlinker.txt#L53
Describe alternatives you've considered
- Current work around is to open in browser, click blame and then copy the url
- or slightly faster with GitHub and browser keybindings: B<C-l><C-c>
- I guess this might be possible with a custom callback, but I think this would mean I must choose either blame or normal and couldn't have mappings for both simultaneously..
- Previously when using Gina I had a mapping that made this possible using
--schemeflag:
nnoremap <silent> <leader>gB V:Gina browse : --scheme=blame<CR>
Additional context Add any other context or screenshots about the feature request here.
Good idea, it seems simple to implement through an option, I will work on it this week together with https://github.com/ruifm/gitlinker.nvim/issues/29 in other to make mapping different actions more manageable.
Hi, any chance of revisiting this?
hi @CallumHoward, let's track this issue here: https://github.com/linrongbin16/gitlinker.nvim