Clipped github link for select line in the currently open file in nvim.
- git
{
"candy12t/github-link.nvim",
config = function()
require("github-link").setup()
end,
},
require("github-link").setup()
Select line in visual mode and execute the command.
:GitHubLink get_commit_link
- generate
https://github.com/OWNER/REPO/blob/COMMIT_HASH/PATH/TO/FILE#L1-L10
- generate
:GitHubLink get_branch_link
- generate
https://github.com/OWNER/REPO/blob/BRANCH/PATH/TO/FILE#L1-L10
- generate
MIT License
candy12t