{"id":15611620,"url":"https://github.com/pgularski/rdirmapper.vim","last_synced_at":"2025-10-10T01:07:04.076Z","repository":{"id":72864540,"uuid":"197656627","full_name":"pgularski/rdirmapper.vim","owner":"pgularski","description":"Vim plugin - map local and remote paths. SCP at will.","archived":false,"fork":false,"pushed_at":"2019-08-09T13:31:41.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-07T06:22:57.585Z","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/pgularski.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":"2019-07-18T21:03:23.000Z","updated_at":"2019-08-09T13:31:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"115e6e9e-0807-40da-ab3f-69d85819c5ab","html_url":"https://github.com/pgularski/rdirmapper.vim","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"cc4f1419fcf236a8045b7328e238c2af54875b5f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pgularski/rdirmapper.vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgularski%2Frdirmapper.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgularski%2Frdirmapper.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgularski%2Frdirmapper.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgularski%2Frdirmapper.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgularski","download_url":"https://codeload.github.com/pgularski/rdirmapper.vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgularski%2Frdirmapper.vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276289767,"owners_count":25616959,"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-21T02:00:07.055Z","response_time":72,"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-03T06:05:56.252Z","updated_at":"2025-09-21T18:55:47.674Z","avatar_url":"https://github.com/pgularski.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdirmapper.vim\nVim plugin - map local and remote paths. SCP at will.\n\nInstead of running `scp path/to/recently/edited/file.js example-host:/var/www/myapp/public/common/scipts/` every time you save a file, you can do `:ScpTo example-host` directly from vim. Hours saved.\n\n# Run\n```\n:ScpTo example-host\n```\nIt'll find a mapping for the currently open file and scp it to the remote server.\n\n# Installation\nWith Vundle:\n```\nPlugin 'pgularski/rdirmapper.vim'\n```\n\n# Sample config\nPlace the `.rdirmapper` file in the project's directory:\n```\n[example-host]\n/local/file/path/file.name = /remote/file/path/file.name\ndirectory/path/ = /remote/directory/path\n\n[example-host.settings]\nusername = root\n```\nThe `section-name.settings` is NOT required\n\n# SSH config\nMake sure you have your public ssh keys deployed to the target hosts.\n\nThe plugin uses the system's `scp` command so the `~/.ssh/config` file is used.\n\nIdeally you want to match the host from the `~/.ssh/config` to a `.rdirmapper` section:\n\n~/.ssh/config:\n```\nHost example-host\n    Hostname example.com\n    User someuser\n    Port 2222\n```\n\n.rdirmapper:\n```\n[example-host]\n/local/file/path/file.name = /remote/file/path/file.name\nlocal/path/with/.ridmapper/path/ = /remote/path\n```\n\n# Requirements\nYour vim has to be compiled with Python3 support.\nRun `vim --version` to see if `+python3` is there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgularski%2Frdirmapper.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgularski%2Frdirmapper.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgularski%2Frdirmapper.vim/lists"}