{"id":26050257,"url":"https://github.com/jamescherti/vim-pathaction","last_synced_at":"2025-07-31T17:38:01.482Z","repository":{"id":278747624,"uuid":"936645579","full_name":"jamescherti/vim-pathaction","owner":"jamescherti","description":"Execute the pathaction command-line tool from Vim/Neovim","archived":false,"fork":false,"pushed_at":"2025-04-09T19:27:05.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T11:56:29.245Z","etag":null,"topics":["pathaction","vim"],"latest_commit_sha":null,"homepage":"https://github.com/jamescherti/vim-pathaction","language":"Vim Script","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/jamescherti.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,"zenodo":null}},"created_at":"2025-02-21T12:47:44.000Z","updated_at":"2025-04-09T19:27:08.000Z","dependencies_parsed_at":"2025-02-21T13:39:04.619Z","dependency_job_id":"08861120-227d-4b68-8bf2-f117b68de8fd","html_url":"https://github.com/jamescherti/vim-pathaction","commit_stats":null,"previous_names":["jamescherti/vim-pathaction"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamescherti/vim-pathaction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-pathaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-pathaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-pathaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-pathaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamescherti","download_url":"https://codeload.github.com/jamescherti/vim-pathaction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamescherti%2Fvim-pathaction/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268080155,"owners_count":24192630,"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-07-31T02:00:08.723Z","response_time":66,"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":["pathaction","vim"],"created_at":"2025-03-08T02:27:36.379Z","updated_at":"2025-07-31T17:38:01.424Z","avatar_url":"https://github.com/jamescherti.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-pathaction - Execute the pathaction command-line tool from Vim\n![License](https://img.shields.io/github/license/jamescherti/vim-pathaction)\n\nExecute pathaction.yaml rules using the pathaction command-line tool from Vim.\n\n(The [pathaction](https://github.com/jamescherti/pathaction) command-line tool enables the execution of specific commands on targeted files or directories. Its key advantage lies in its flexibility, allowing users to handle various types of files simply by passing the file or directory as an argument to the `pathaction` tool. The tool uses a `.pathaction.yaml` rule-set file to determine which command to execute. Additionally, Jinja2 templating can be employed in the rule-set file to further customize the commands.)\n\n## Customizations\n\n### Keybindings\n\nBelow are two examples of key bindings (`\u003cleader\u003eee` to execute the \"main\" tag and `\u003cleader\u003eei` to execute the \"install\" tag):\n\n```vim\nnnoremap \u003cleader\u003eee :call pathaction#run(\"main\")\u003cCR\u003e\nnnoremap \u003cleader\u003eei :call pathaction#run(\"install\")\u003cCR\u003e\n```\n\n## Author and license\n\nCopyright (C) 2021-2025 [James Cherti](https://www.jamescherti.com).\n\nDistributed under terms of the MIT license.\n\n## Installation\n\n### Installation with Vim's built-in package manager (Vim 8 and above)\n\n```bash\nmkdir -p ~/.vim/pack/jamescherti/start\ncd ~/.vim/pack/jamescherti/start\ngit clone --depth 1 https://github.com/jamescherti/vim-pathaction\nvim -u NONE -c \"helptags vim-pathaction/doc\" -c q\n```\n\n### Installation with a third-party plugin manager\n\nYou can also install this Vim plugin with any third-party plugin manager such as Pathogen or Vundle.\n\n## Links\n\n- [vim-pathaction @GitHub](https://github.com/jamescherti/vim-pathaction)\n- The `pathaction` command-line tool (requirement): [pathaction](https://github.com/jamescherti/pathaction)\n- For Emacs users: [pathaction.el @GitHub](https://github.com/jamescherti/pathaction.el), an Emacs package that allows executing the `pathaction` command-line tool directly from Emacs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamescherti%2Fvim-pathaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamescherti%2Fvim-pathaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamescherti%2Fvim-pathaction/lists"}