{"id":15525439,"url":"https://github.com/robertbasic/vim-functions","last_synced_at":"2025-09-09T08:39:52.880Z","repository":{"id":138844438,"uuid":"80412197","full_name":"robertbasic/vim-functions","owner":"robertbasic","description":"A collection of Vim functions I don't want to hold in .vimrc. Highly opinionated functions.","archived":false,"fork":false,"pushed_at":"2017-02-10T14:58:54.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T07:02:45.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/robertbasic.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-30T10:34:38.000Z","updated_at":"2017-01-31T20:41:22.000Z","dependencies_parsed_at":"2023-04-01T05:36:26.638Z","dependency_job_id":null,"html_url":"https://github.com/robertbasic/vim-functions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertbasic/vim-functions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fvim-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fvim-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fvim-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fvim-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertbasic","download_url":"https://codeload.github.com/robertbasic/vim-functions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fvim-functions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274268371,"owners_count":25253389,"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-09-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2024-10-02T10:57:35.328Z","updated_at":"2025-09-09T08:39:52.859Z","avatar_url":"https://github.com/robertbasic.png","language":"Python","readme":"# vim-functions\n\nA collection of Vim functions I don't want to hold in .vimrc\n\n## CreatePHPClass\n\nThe `VFCreatePHPClass` function is a quick way to create a PHP class.\n\nCall it as `VFCreatePHPClass Ham/Spam/Can` and it will create a new\n`project_root/src/Ham/Spam/Can.php` file.\n\nThe contents of the file will be:\n\n``` php\n\u003c?php\ndeclare(strict_types=1);\n\nnamespace Ham\\Spam;\n\nclass Can\n{\n    public function __construct()\n    {\n    }\n}\n```\n\nIt will also create the corresponding PHPUnit test file\n`project_root/test/HamTest/Spam/CanTest.php`:\n\n``` php\n\u003c?php\ndeclare(strict_types=1);\n\nnamespace HamTest\\Spam;\n\nuse Ham\\Spam\\Can;\n\nclass CanTest extends \\PHPUnit_Framework_TestCase\n{\n    public function setup()\n    {\n    }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertbasic%2Fvim-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertbasic%2Fvim-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertbasic%2Fvim-functions/lists"}