{"id":13395509,"url":"https://github.com/thameera/vimv","last_synced_at":"2025-03-13T21:31:40.929Z","repository":{"id":44994420,"uuid":"100149945","full_name":"thameera/vimv","owner":"thameera","description":"Batch-rename files using Vim","archived":false,"fork":false,"pushed_at":"2024-05-28T10:59:28.000Z","size":156,"stargazers_count":630,"open_issues_count":15,"forks_count":46,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-05-29T02:39:50.202Z","etag":null,"topics":["bash","mv","rename","vim"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/thameera.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-08-13T02:54:25.000Z","updated_at":"2024-05-30T08:35:47.771Z","dependencies_parsed_at":"2024-01-13T17:11:48.648Z","dependency_job_id":"5cb7e79e-00b3-4b38-9064-91db617b2629","html_url":"https://github.com/thameera/vimv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thameera%2Fvimv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thameera%2Fvimv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thameera%2Fvimv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thameera%2Fvimv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thameera","download_url":"https://codeload.github.com/thameera/vimv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243485537,"owners_count":20298350,"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":["bash","mv","rename","vim"],"created_at":"2024-07-30T17:02:03.235Z","updated_at":"2025-03-13T21:31:40.615Z","avatar_url":"https://github.com/thameera.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# vimv\n\nvimv is a terminal-based file rename utility that lets you easily mass-rename files using Vim.\n\n## Installing\n\n1. For the current user:\n   ```\n   curl https://raw.githubusercontent.com/thameera/vimv/master/vimv \u003e ~/.local/bin/vimv \u0026\u0026 chmod +755 ~/.local/bin/vimv\n   ```\n2. For the current system:\n   ```\n   sudo PREFIX=/usr/local make install\n   ```\n\nOr simply copy the `vimv` file to a location in your `$PATH` and make it executable.\n\n## Usage\n\n1. Go to a directory and enter `vimv` with optionally, a list of files to rename.\n2. A Vim window will be opened with names of all files.\n3. Use Vim's text editing features to edit the names of files. For example, search and replace a particular string, or use visual selection to delete a block.\n4. Save and exit. Your files should be renamed now.\n\n## Other features\n\n* If you want to list only a group of files, you can pass them as an argument. eg: `vimv *.mp4`\n* If you have an `$EDITOR` environment variable set, vimv will use its value by default.\n* If you are inside a Git directory, vimv will use `git mv` (instead of `mv`) to rename the files.\n* You can use `/some/path/filename` format to move the file elsewhere during renaming. If the path is non-existent, it will be automatically created before moving.\n\n## Screencast\n\n![alt text](screencast.gif \"vimv in action\")\n\n## Gotchas\n\nDon't delete or swap the lines while in Vim or things will get ugly.\n\n## Running tests\n\nTests are written using [bats](https://github.com/bats-core/bats-core). To run the tests:\n\n```sh\ngit submodule update --init\ntest/test_vimv.bats\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthameera%2Fvimv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthameera%2Fvimv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthameera%2Fvimv/lists"}