{"id":19687230,"url":"https://github.com/nfvs/vim-perforce","last_synced_at":"2025-10-15T13:06:06.368Z","repository":{"id":19209056,"uuid":"22442817","full_name":"nfvs/vim-perforce","owner":"nfvs","description":"Perforce integration for Vim","archived":false,"fork":false,"pushed_at":"2020-06-21T07:12:24.000Z","size":25,"stargazers_count":36,"open_issues_count":6,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-30T06:39:57.851Z","etag":null,"topics":["p4","perforce","vim","vim-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nfvs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-30T20:08:53.000Z","updated_at":"2025-05-30T11:31:01.000Z","dependencies_parsed_at":"2022-08-21T06:40:57.661Z","dependency_job_id":null,"html_url":"https://github.com/nfvs/vim-perforce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nfvs/vim-perforce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfvs%2Fvim-perforce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfvs%2Fvim-perforce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfvs%2Fvim-perforce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfvs%2Fvim-perforce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfvs","download_url":"https://codeload.github.com/nfvs/vim-perforce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfvs%2Fvim-perforce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279081089,"owners_count":26099137,"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-10-15T02:00:07.814Z","response_time":56,"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":["p4","perforce","vim","vim-plugin"],"created_at":"2024-11-11T18:33:26.725Z","updated_at":"2025-10-15T13:06:06.329Z","avatar_url":"https://github.com/nfvs.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# perforce.vim\n\nVim Perforce integration for the 21st century!\n\nNo relation to [Tom Slee's](http://www.vim.org/scripts/script.php?script_id=167) or [Hari Krishna Dara's](http://vim.sourceforge.net/scripts/script.php?script_id=240) plugins.\n\n\n## Installation\n\nVundle is the recommended way to install vim-perforce. Add this line to your .vimrc:\n\n    Bundle 'nfvs/vim-perforce'\n\nThen run `:PluginInstall` inside Vim.\n\n\n## Usage\n\nBy default, when trying to save a read-only file, a prompt to open the file for edit in Perforce is displayed.\n\nAdditionally, the following commands are available:\n\n##### :P4info\nDisplay perforce information.\n\n##### :P4edit\nStart editing the current file (opened in the default changelist).\n\n##### :P4revert\nRevert the current file (a confirmation prompt is displayed).\n\n##### :P4movetocl\nMove the current file to a different changelist.\n\n\n## Settings\n\nThe following settings can be set in your `.vimrc` file:\n\n##### g:perforce\\_open\\_on\\_change _(default: 0)_\nPrompt to open the file for edit in Perforce when starting to modify a read-only file.\n\n##### g:perforce\\_open\\_on\\_save _(default: 1)_\nPrompt to open the file for edit in Perforce when trying to write a read-only file (with :w!).\n\n##### g:perforce\\_auto\\_source\\_dirs _(default: [])_\nRestrict Perforce automatic operations (save/change read-only files) to a limited set of directories. Please note that on Windows backslashes need to be escaped. Example:\n\n`let g:perforce_auto_source_dirs = ['C:\\\\Users\\\\nfvs\\\\Perforce']`\n\n##### g:perforce\\_use\\_relative\\_paths _(default: 0)_\nSend relative file paths to Perforce so it can automatically detect which root to use (useful when sharing a Perforce repository between Linux and Windows or when using Cygwin).\n\n##### g:perforce\\_use\\_cygpath _(default: 0)_\nUse the cygpath utility to translate paths from Cygwin to absolute Windows paths. May work in cases where g:perforce\\_use\\_relative\\_paths does not.\n\n##### g:perforce\\_prompt\\_on\\_open _(default: 1)_\nWhether to prompt the user when a file is open for edit (either on change or on save).\n\n## License\n\nCopyright (C) Nuno Santos. Distributed under the same terms as Vim itself. See `:help license`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfvs%2Fvim-perforce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfvs%2Fvim-perforce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfvs%2Fvim-perforce/lists"}