{"id":48805739,"url":"https://github.com/kenfdev/nvim-clip-line-ref","last_synced_at":"2026-04-14T05:03:40.828Z","repository":{"id":333121226,"uuid":"1136235076","full_name":"kenfdev/nvim-clip-line-ref","owner":"kenfdev","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-17T14:34:21.000Z","size":891,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T23:01:31.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenfdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-17T10:14:40.000Z","updated_at":"2026-01-17T14:34:24.000Z","dependencies_parsed_at":"2026-01-17T23:02:23.387Z","dependency_job_id":null,"html_url":"https://github.com/kenfdev/nvim-clip-line-ref","commit_stats":null,"previous_names":["kenfdev/nvim-clip-line-ref"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kenfdev/nvim-clip-line-ref","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fnvim-clip-line-ref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fnvim-clip-line-ref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fnvim-clip-line-ref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fnvim-clip-line-ref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenfdev","download_url":"https://codeload.github.com/kenfdev/nvim-clip-line-ref/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenfdev%2Fnvim-clip-line-ref/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-14T05:03:03.383Z","updated_at":"2026-04-14T05:03:40.824Z","avatar_url":"https://github.com/kenfdev.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clip-line-ref\n\nA Neovim plugin to copy file path and line number reference to the system clipboard.\n\n![Demo](assets/nvim.gif)\n\n## Features\n\n- Copy current line reference in normal mode\n- Copy line range reference in visual mode\n- Paths relative to git root (submodule-aware)\n- System clipboard integration\n\n## Requirements\n\n- Neovim 0.8+\n\n## Installation\n\n### lazy.nvim\n\n```lua\n{\n  \"kenfdev/nvim-clip-line-ref\",\n  config = function()\n    require(\"clip-line-ref\").setup()\n  end,\n}\n```\n\n### packer.nvim\n\n```lua\nuse {\n  \"kenfdev/nvim-clip-line-ref\",\n  config = function()\n    require(\"clip-line-ref\").setup()\n  end,\n}\n```\n\n## Configuration\n\n```lua\nrequire(\"clip-line-ref\").setup({\n  -- Use git root for relative paths (default: true)\n  -- Set to false to use absolute paths instead\n  use_git_root = true,\n})\n```\n\n## Usage\n\n### Commands\n\n| Command | Description |\n|---------|-------------|\n| `:ClipLineRef` | Copy line reference (works in normal and visual mode) |\n\n### Default Keymaps\n\n| Mode | Key | Action |\n|------|-----|--------|\n| Normal | `\u003cleader\u003eyl` | Copy current line reference |\n| Visual | `\u003cleader\u003eyl` | Copy selected range reference |\n\n### Output Format\n\nSingle line:\n```\nsrc/main.lua L42\n```\n\nLine range:\n```\nsrc/main.lua L13-L17\n```\n\n## API\n\n```lua\nlocal clip = require(\"clip-line-ref\")\n\n-- Copy current line or visual selection to clipboard\nclip.copy()\n\n-- Get the formatted reference string without copying\n-- Returns: string or nil (if in special buffer)\nclip.get_reference()\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenfdev%2Fnvim-clip-line-ref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenfdev%2Fnvim-clip-line-ref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenfdev%2Fnvim-clip-line-ref/lists"}