Expand description
GitHub permalink generation for selected code. GitHub permalink generation for selected code.
Exposes a dictionary with a get_link function that constructs GitHub URLs for visually selected
code ranges in the current buffer, using the repository’s current commit hash for permalinks.
The generated URL is automatically copied to the system clipboard.
Functions§
- append_
lnum 🔒 - build_
github_ 🔒file_ url - build_
gitlab_ 🔒file_ url - dict
- [
Dictionary] with GitHub link generation helpers. - get_
link 🔒 - Generates a GitHub permalink for the current visual selection and copies it to the clipboard.