{"id":17026355,"url":"https://github.com/chrisgrieser/cmp_yanky","last_synced_at":"2025-03-17T10:33:59.109Z","repository":{"id":205081097,"uuid":"713370705","full_name":"chrisgrieser/cmp_yanky","owner":"chrisgrieser","description":"cmp-source for clipboard history from yanky.nvim","archived":false,"fork":false,"pushed_at":"2024-11-27T16:07:35.000Z","size":29,"stargazers_count":47,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T21:38:43.108Z","etag":null,"topics":["clipboard-history","completion","nvim-cmp","nvim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisgrieser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"custom":"https://www.paypal.me/ChrisGrieser","ko_fi":"pseudometa"}},"created_at":"2023-11-02T11:38:57.000Z","updated_at":"2025-01-26T08:18:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"25b7b45e-2bfc-4125-816b-878a9826cf2b","html_url":"https://github.com/chrisgrieser/cmp_yanky","commit_stats":null,"previous_names":["chrisgrieser/cmp_yanky"],"tags_count":0,"template":false,"template_full_name":"chrisgrieser/nvim-pseudometa-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgrieser%2Fcmp_yanky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgrieser%2Fcmp_yanky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgrieser%2Fcmp_yanky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgrieser%2Fcmp_yanky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisgrieser","download_url":"https://codeload.github.com/chrisgrieser/cmp_yanky/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858016,"owners_count":20359261,"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","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":["clipboard-history","completion","nvim-cmp","nvim-plugin"],"created_at":"2024-10-14T07:32:07.139Z","updated_at":"2025-03-17T10:33:58.761Z","avatar_url":"https://github.com/chrisgrieser.png","language":"Lua","funding_links":["https://www.paypal.me/ChrisGrieser","https://ko-fi.com/pseudometa"],"categories":[],"sub_categories":[],"readme":"\u003c!-- LTeX: enabled=false --\u003e\n# cmp_yanky\n\u003c!-- LTeX: enabled=true --\u003e\n\n[cmp-source](https://github.com/hrsh7th/nvim-cmp) for yank history (clipboard\nhistory) from [yanky.nvim](https://github.com/gbprod/yanky.nvim).\n\n\u003cimg alt=\"demo image showcasing suggestion\" width=\"70%\" src=\"https://github.com/chrisgrieser/cmp_yanky/assets/73286100/e1e62358-63d0-4261-88ed-47bb155576d2\"\u003e\n\n## Installation\n\n```lua\n-- lazy.nvim\n{\n\t\"hrsh7th/nvim-cmp\",\n\tdependencies = {\n\t\t-- ... other cmp plugins\n\t\t\"chrisgrieser/cmp_yanky\",\n\t}\n},\n```\n\n```lua\nrequire(\"cmp\").setup {\n\tsources = {\n\t\t{ \n\t\t\tname = \"cmp_yanky\",\n\t\t\toption = {\n\t\t\t\t-- see below\n\t\t\t}\n\t\t},\n\t},\n}\n```\n\n## Configuration\n\n```lua\n-- default values\n{\n\tname = \"cmp_yanky\",\n\toption = {\n\t\t-- only suggest items which match the current filetype\n\t\tonlyCurrentFiletype = false,\n\t\t-- only suggest items with a minimum length\n\t\tminLength = 3,\n\t},\n}\n```\n\nThe number of possible items to be suggested depends on the size of the\nhistory. You can change the history size with `yanky`'s [ring.history_length\noption](https://github.com/gbprod/yanky.nvim#ringhistory_length).\n\n\u003c!-- vale Google.FirstPerson = NO --\u003e\n## Credits\nIn my day job, I am a sociologist studying the social mechanisms underlying the\ndigital economy. For my PhD project, I investigate the governance of the app\neconomy and how software ecosystems manage the tension between innovation and\ncompatibility. If you are interested in this subject, feel free to get in touch.\n\nI also occasionally blog about vim: [Nano Tips for Vim](https://nanotipsforvim.prose.sh)\n\n- [Academic Website](https://chris-grieser.de/)\n- [Mastodon](https://pkm.social/@pseudometa)\n- [ResearchGate](https://www.researchgate.net/profile/Christopher-Grieser)\n- [LinkedIn](https://www.linkedin.com/in/christopher-grieser-ba693b17a/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisgrieser%2Fcmp_yanky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisgrieser%2Fcmp_yanky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisgrieser%2Fcmp_yanky/lists"}