{"id":31452687,"url":"https://github.com/delphinus/rtbrowse.nvim","last_synced_at":"2026-03-07T12:02:28.193Z","repository":{"id":293073533,"uuid":"982685530","full_name":"delphinus/rtbrowse.nvim","owner":"delphinus","description":"Browse Neovim runtime files on GitHub directly from your editor.","archived":false,"fork":false,"pushed_at":"2025-06-02T04:48:15.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T14:12:48.679Z","etag":null,"topics":["lua","neovim","neovim-plugin"],"latest_commit_sha":null,"homepage":"","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/delphinus.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}},"created_at":"2025-05-13T08:59:02.000Z","updated_at":"2025-06-02T04:48:01.000Z","dependencies_parsed_at":"2025-05-14T11:47:44.602Z","dependency_job_id":null,"html_url":"https://github.com/delphinus/rtbrowse.nvim","commit_stats":null,"previous_names":["delphinus/nvim-browse.nvim","delphinus/rtbrowse.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/delphinus/rtbrowse.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphinus%2Frtbrowse.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphinus%2Frtbrowse.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphinus%2Frtbrowse.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphinus%2Frtbrowse.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delphinus","download_url":"https://codeload.github.com/delphinus/rtbrowse.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphinus%2Frtbrowse.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277811996,"owners_count":25881285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["lua","neovim","neovim-plugin"],"created_at":"2025-10-01T07:50:23.275Z","updated_at":"2025-10-01T07:50:26.561Z","avatar_url":"https://github.com/delphinus.png","language":"Lua","readme":"# rtbrowse.nvim\n\nBrowse Neovim runtime files on GitHub directly from your editor.\n\nhttps://github.com/user-attachments/assets/ccad5b02-26a1-46bb-bdbb-a0b1df697b36\n\n## Introduction\n\n**rtbrowse.nvim** is a Neovim plugin that lets you open the corresponding GitHub source page for any Neovim runtime file and line(s) directly from your editor. It is useful for exploring Neovim's source code, referencing documentation, or sharing links to specific lines.\n\nIf you use this plugin on files that are not Neovim runtime files, it fallbacks to another action (default: [`Snacks.gitbrowse()`](https://github.com/folke/snacks.nvim/blob/main/docs/gitbrowse.md)). So you can use this plugin without worrying about the file you are viewing.\n\n## Installation\n\nUse your favorite plugin manager. Example for [lazy.nvim](https://github.com/folke/lazy.nvi):\n\n```lua\n-- You need no `opts = {}`\n{ \"delphinus/rtbrowse.nvim\" }\n```\n\nOr, setup with full configuration. See [doc](doc/rtbrowse.txt) for the detail.\n\n```lua\n{\n  \"delphinus/rtbrowse.nvim\",\n  -- You may use this plugin with keymaps.\n  keys = {\n    {\n      \"\u003cLeader\u003egB\",\n      function() require(\"rtbrowse\").browse() end,\n      mode = { \"n\", \"x\", \"o\" },\n    },\n  },\n  -- full configuration options\n  opts = {\n    fallback = function()\n      -- custom fallback action\n    end,\n    get_commit = \"curl\", -- or \"gh\"\n  },\n}\n```\n\n## Usage\n\nTo open the current runtime file on GitHub:\n\n```vim\n:lua require(\"rtbrowse\").browse()\n```\n\n- If you have a visual selection, the selected lines will be highlighted in the GitHub link.\n- If not, the current line will be used.\n\nExample key mappings:\n\n```vim\nnnoremap \u003cLeader\u003egB :lua require(\"rtbrowse\").browse()\u003cCR\u003e\nvnoremap \u003cLeader\u003egB :lua require(\"rtbrowse\").browse()\u003cCR\u003e\n```\n\nIf the file is not a Neovim runtime file, a fallback action is triggered.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphinus%2Frtbrowse.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelphinus%2Frtbrowse.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphinus%2Frtbrowse.nvim/lists"}