{"id":20877305,"url":"https://github.com/flatcap/vim-deleteto","last_synced_at":"2026-02-01T11:36:10.918Z","repository":{"id":29237367,"uuid":"32769359","full_name":"flatcap/vim-deleteto","owner":"flatcap","description":"⚙ Vim Plugin - Trim the beginning of lines","archived":false,"fork":false,"pushed_at":"2022-06-12T19:25:14.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-17T14:50:30.109Z","etag":null,"topics":["align","delete","plugin","script","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"skyarkhangel/Hardcore-SK","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flatcap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-24T01:43:46.000Z","updated_at":"2023-07-29T22:56:00.000Z","dependencies_parsed_at":"2022-09-06T13:02:29.394Z","dependency_job_id":null,"html_url":"https://github.com/flatcap/vim-deleteto","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/flatcap/vim-deleteto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatcap%2Fvim-deleteto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatcap%2Fvim-deleteto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatcap%2Fvim-deleteto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatcap%2Fvim-deleteto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flatcap","download_url":"https://codeload.github.com/flatcap/vim-deleteto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatcap%2Fvim-deleteto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28977321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T11:31:13.034Z","status":"ssl_error","status_checked_at":"2026-02-01T11:30:25.558Z","response_time":56,"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":["align","delete","plugin","script","vim"],"created_at":"2024-11-18T06:56:35.660Z","updated_at":"2026-02-01T11:36:10.887Z","avatar_url":"https://github.com/flatcap.png","language":"Vim script","readme":"# deleteto.vim\n\n## Introduction\n\nDeleteTo reads a character from the user, then deletes from the beginning of the line up to and including that character.\n\nIf you have a tab delimited file, \"dU\u003ctab\u003e\" will delete the first column of data.\n\nSee the Workflow section, below, to see what that means.\n\nTo improve this plugin, I recommend installing Tim Pope's\n[vim-repeat](https://github.com/tpope/vim-repeat) plugin.\n\n## Workflow\n\nImagine you're working with a list of files:\n\n```\n./deleteto/plugin/deleteto.vim\n./deleteto/README.md\n./keyword/plugin/keyword.vim\n./keyword/README.md\n```\n\nbut you'd like a tidier list without the \"./\" at the beginning.\nType: `dU/`\n\n```\ndeleteto/plugin/deleteto.vim\ndeleteto/README.md\nkeyword/plugin/keyword.vim\nkeyword/README.md\n```\n\nType `dU/` again\n\n```\nplugin/deleteto.vim\nREADME.md\nplugin/keyword.vim\nREADME.md\n```\n\n## Mappings\n\nBy default, DeleteTo creates four mappings:\n\n| Type         | To work on     | Calls                 |\n| ------------ | -------------- | --------------------- |\n| dU           | All lines      | \u0026lt;Plug\u0026gt;DeleteToA |\n| duu          | This line      | \u0026lt;Plug\u0026gt;DeleteToL |\n| du\\{motion\\} | Motion-defined | \u0026lt;Plug\u0026gt;DeleteToM |\n| \\{visual\\}du | Visual region  | \u0026lt;Plug\u0026gt;DeleteToV |\n\nYou can disable the default mappings with:\n\n```viml\nlet g:deleteto_create_mappings = 0\n```\n\n## Command\n\nThe DeleteTo command has the form\n\n  :[range]DeleteTo CHAR [COUNT]\n\n## Examples\n\nThe delimiter will commonly be forward slash, space, comma or tab.\nHowever, DeleteTo will work with any character.\n\n| Type this           | Works on               | Delete up to this character |\n| ------------------- | ---------------------- | --------------------------- |\n| dU/                 | Whole file             | First /                     |\n| 3dU,                | Whole file             | Third ,                     |\n| 4duu/               | One line               | Fourth /                    |\n| vip2du\u0026lt;tab\u0026gt;   | Visual - paragraph     | Second \u0026lt;tab\u0026gt;          |\n| du9j,               | Motion - 10 lines      | First ,                     |\n|                     |                                                      |\n| :DeleteTo /         | Whole file             | First /                     |\n| :1,20DeleteTo /     | Lines 1-20             | First /                     |\n| :DeleteTo , 4       | Whole file             | Fourth ,                    |\n|                     |                                                      |\n| :argdo DeleteTo / 2 | All args, all lines    | Second /                    |\n| :bufdo DeleteTo \\|  | All buffers, all lines | First \\|                    |\n\n## License\n\nCopyright \u0026copy; Richard Russon (flatcap).\nDistributed under the GPLv3 \u003chttp://fsf.org/\u003e\n\n## See also\n\n- [flatcap.org](https://flatcap.org)\n- [GitHub](https://github.com/flatcap/vim-deleteto)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatcap%2Fvim-deleteto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflatcap%2Fvim-deleteto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatcap%2Fvim-deleteto/lists"}