{"id":21291687,"url":"https://github.com/jdtsmith/vertico-truncate","last_synced_at":"2025-07-11T16:30:40.907Z","repository":{"id":153589837,"uuid":"605797313","full_name":"jdtsmith/vertico-truncate","owner":"jdtsmith","description":"Judicious truncation for long vertico lines","archived":false,"fork":false,"pushed_at":"2023-12-26T03:17:22.000Z","size":34,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-12-26T04:23:03.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdtsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-02-23T23:18:38.000Z","updated_at":"2023-11-30T19:27:47.000Z","dependencies_parsed_at":"2023-05-20T07:00:40.172Z","dependency_job_id":null,"html_url":"https://github.com/jdtsmith/vertico-truncate","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdtsmith%2Fvertico-truncate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdtsmith%2Fvertico-truncate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdtsmith%2Fvertico-truncate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdtsmith%2Fvertico-truncate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdtsmith","download_url":"https://codeload.github.com/jdtsmith/vertico-truncate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225739874,"owners_count":17516755,"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":[],"created_at":"2024-11-21T13:39:18.442Z","updated_at":"2024-11-21T13:39:19.179Z","avatar_url":"https://github.com/jdtsmith.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vertico-truncate\nJudicious truncation for long candidates in [vertico](https://github.com/minad/vertico) completion.\n\nLeft-truncates completion lines in vertico for ~two~ one situations:\n\n1. Longer files, which would otherwise move the\n suffix over (e.g. marginalia data), are left-truncated to avoid\n    this.\n2. **Update**: this part is no longer functioning and the solution it uses\n   is too hacky to continue supporting.  Please open an issue over on\n   consult if you want this functionality.  `consult-line` and\n   `consult-*grep` matches on long lines are left-truncated to ensure\n   the first match (from grep or the completion style) remains\n   visible.  You may also consider increasing\n   `consult-grep-max-columns` (and, potentially, altering\n   `consult-ripgrep-args` --max-columns flag if that affects you).\n   Note that VERY long lines (above a few thousand chars) can have a\n   negative performance impact in Emacs.\n   \nOthers may be considered.\n\n## Installation/usage\n\nInstall using straight, use-package with load-path, etc.  To enable, simply arrange to call `(vertico-truncate-mode 1)` in your init.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdtsmith%2Fvertico-truncate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdtsmith%2Fvertico-truncate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdtsmith%2Fvertico-truncate/lists"}