Module ghurlinker

Module ghurlinker 

Source
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.