{"id":18014841,"url":"https://github.com/zevv/rcdiff","last_synced_at":"2026-02-27T11:38:51.280Z","repository":{"id":150599221,"uuid":"198050349","full_name":"zevv/rcdiff","owner":"zevv","description":"Simple plugin for navigating changes between open file and git/svn/perforce/hg/cfs/fossil managed files","archived":false,"fork":false,"pushed_at":"2019-08-25T11:25:37.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-13T13:17:21.176Z","etag":null,"topics":[],"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/zevv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-21T11:53:09.000Z","updated_at":"2019-08-25T11:25:39.000Z","dependencies_parsed_at":"2023-06-11T17:15:13.402Z","dependency_job_id":null,"html_url":"https://github.com/zevv/rcdiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zevv/rcdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevv%2Frcdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevv%2Frcdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevv%2Frcdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevv%2Frcdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zevv","download_url":"https://codeload.github.com/zevv/rcdiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevv%2Frcdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29892282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T09:48:51.284Z","status":"ssl_error","status_checked_at":"2026-02-27T09:48:43.992Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-30T04:11:22.938Z","updated_at":"2026-02-27T11:38:51.259Z","avatar_url":"https://github.com/zevv.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nNOTE: This plugin is unix-only!\n\nAn small vim 7.0 plugin for showing RCS diff information in a file while\nediting. This plugin runs a diff between the current buffer and the original\nfile from the version control system, and shows coloured signs indicating\nwhere the buffer differs from the original file from the repository. The\noriginal text is not shown, only signs are used to indicate where changes were\nmade. With proper key bindings configured, fast navigation between changed\nblocks is also provided.\n\n![rcdiff](rcdiff.png)\n\n# Installation\n\nCopy rcdiff.vim into your vim plugins directory, or use Plugger:\n\n```\nPlug 'zevv/rcdiff'                                                            \n```\n\nThis plugin supports the following RCS systems:\n\n- CVS\n- Fossil\n- Git\n- Mercurial\n- Perforce / p4\n- Subversion\n\nThe type of RCS will be detected when first issuing a rcdiff command on \nthe file.\n\nThe following symbols and syntax highlight groups are used for the signs:\n\n```\n  \u003e DiffAdd:    Newly added lines. (default=blue)\n\n  ! DiffChange: Lines which are changed from the original. (default=cyan)\n\n  \u003c DiffDel:    Applied to the lines directly above and below a deleted block\n                (default=magenta) \n```\n\n# Usage\n\nThe plugin defines one function: Svndiff(). This function figures out the\ndifference between the current buffer and it's RCS original, and adds the\nsigns at the places where the buffer differs from the original file from svn\nor git. You'll need to call this function after making changes to update the\nhighlighting.\n\nThe function takes one argument specifying an additional action to perform:\n\n```\n  \"prev\"  : jump to the previous different block \n  \"next\"  : jump to the next different block\n  \"clear\" : clean up all signs\n```\n\nYou might want to map some keys to run the Svndiff function. For\nexample, add to your .vimrc:\n\n```\n  noremap \u003cF3\u003e :call Svndiff(\"prev\")\u003cCR\u003e \n  noremap \u003cF4\u003e :call Svndiff(\"next\")\u003cCR\u003e\n  noremap \u003cF5\u003e :call Svndiff(\"clear\")\u003cCR\u003e\n```\n\n\n# Configuration\n\nThe following configuration variables are availabe:\n\n* g:rcdiff_autoupdate\n\n  If this variable is defined, rcdiff will automatically update the signs\n  when the user stops typing for a short while, and when leaving insert\n  mode. This might slow things down on large files, so use with caution.\n  The vim variable 'updatetime' can be used to set the auto-update interval,\n  but note that changing this variable other effects as well. (refer to the \n  vim docs for more info) \n  To use, add to your .vimrc:\n\n  let g:rcdiff_autoupdate = 1\n\n* g:rcdiff_one_sign_delete\n\n  Normally, two 'delete' signs are placed around the location where\n  text was deleted. When this variable is defined, only one sign is\n  placed, above the location of the deleted text.\n  To use, add to your .vimrc:\n\n  let g:rcdiff_one_sign_delete = 1\n\n# Colors\n\nPersonally, I find the following colours more intuitive for diff colours:\nred=deleted, green=added, yellow=changed. If you want to use these colours,\ntry adding the following lines to your .vimrc\n\n```\nhi DiffAdd      ctermfg=0 ctermbg=2 guibg='green'\nhi DiffDelete   ctermfg=0 ctermbg=1 guibg='red'\nhi DiffChange   ctermfg=0 ctermbg=3 guibg='yellow'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzevv%2Frcdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzevv%2Frcdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzevv%2Frcdiff/lists"}