{"id":13485320,"url":"https://github.com/hotwatermorning/auto-git-diff","last_synced_at":"2026-03-01T12:36:31.630Z","repository":{"id":138069830,"uuid":"48220455","full_name":"hotwatermorning/auto-git-diff","owner":"hotwatermorning","description":"A vim plugin which shows git diff for Git Rebase Interactive","archived":false,"fork":false,"pushed_at":"2022-10-29T16:24:09.000Z","size":24,"stargazers_count":115,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T19:42:58.665Z","etag":null,"topics":["git","vim","vim-plugins"],"latest_commit_sha":null,"homepage":"","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/hotwatermorning.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}},"created_at":"2015-12-18T07:16:38.000Z","updated_at":"2024-07-01T08:10:44.000Z","dependencies_parsed_at":"2024-01-16T07:23:05.293Z","dependency_job_id":"88a47324-579e-4c40-87b9-feb5c37386a1","html_url":"https://github.com/hotwatermorning/auto-git-diff","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/hotwatermorning%2Fauto-git-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwatermorning%2Fauto-git-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwatermorning%2Fauto-git-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotwatermorning%2Fauto-git-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hotwatermorning","download_url":"https://codeload.github.com/hotwatermorning/auto-git-diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245892511,"owners_count":20689510,"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":["git","vim","vim-plugins"],"created_at":"2024-07-31T17:01:55.235Z","updated_at":"2026-03-01T12:36:31.596Z","avatar_url":"https://github.com/hotwatermorning.png","language":"Vim Script","readme":"Show git diff for Git Interactive Rebase\n=======================================\n\n`auto-git-diff` is a vim plugin which enable showing commit diff while processing git interactive rebase.\n\nWhen you move the text cursor in the commit list window, this plugin reads the commit hash of the line and show diff of the commit.\n\n![sample_image](https://user-images.githubusercontent.com/359226/33921582-2319e7a0-e008-11e7-8be3-ba9f68a78217.gif)\n\n## Variables\n\n- `g:auto_git_diff_disable_auto_update`\n\n    If this variable is set to 1, the diff window won't be updated automatically. To update the diff window manually, use this key mapping: `\u003cPlug\u003e(auto_git_diff_manual_update)`.\n\n- `g:auto_git_diff_show_window_at_right`\n\n    If this variable is set to 1, the diff window will be created at right on the commit list window, instead of bottom.\n\n- `g:auto_git_diff_command_options`\n\n    The value of this variable will be passed to `git diff` command. If this variable is not defined, `--stat -p --submodule -C -C` will be used.\n\n## Mappings\n\n- `\u003cPlug\u003e(auto_git_diff_manual_update)`\n\n    This key mapping triggers update of the diff window. This mapping is used when the diff window's automatic update is disabled.\n\n- `\u003cPlug\u003e(auto_git_diff_scroll_down_1)`\n- `\u003cPlug\u003e(auto_git_diff_scroll_up_1)`\n- `\u003cPlug\u003e(auto_git_diff_scroll_down_half)`\n- `\u003cPlug\u003e(auto_git_diff_scroll_up_half)`\n- `\u003cPlug\u003e(auto_git_diff_scroll_down_page)`\n- `\u003cPlug\u003e(auto_git_diff_scroll_up_page)`\n\n    These key mappings scroll the diff window without moving the cursor into the window. `_1` means scrolling one line (like `\u003cC-e\u003e` or `\u003cC-y\u003e`), `_half` means scrolling half a page (like `\u003cC-d\u003e` or `\u003cC-u\u003e`) and `_page` means scrolling one page (like `\u003cC-f\u003e` or `\u003cC-b\u003e`).\n\nThis snippet is an example configuration:\n\n```vim\nfunction! s:setup_auto_git_diff() abort\n    nmap \u003cbuffer\u003e\u003cC-l\u003e \u003cPlug\u003e(auto_git_diff_scroll_manual_update)\n    nmap \u003cbuffer\u003e\u003cC-n\u003e \u003cPlug\u003e(auto_git_diff_scroll_down_half)\n    nmap \u003cbuffer\u003e\u003cC-p\u003e \u003cPlug\u003e(auto_git_diff_scroll_up_half)\nendfunction\nautocmd FileType gitrebase call \u003cSID\u003esetup_auto_git_diff()\n```\n\n## License\n\n    The MIT License (MIT)\n    Copyright (c) 2015 hotwatermorning\n\n    Permission is hereby granted, free of charge, to any person obtaining\n    a copy of this software and associated documentation files (the\n    \"Software\"), to deal in the Software without restriction, including\n    without limitation the rights to use, copy, modify, merge, publish,\n    distribute, sublicense, and/or sell copies of the Software, and to\n    permit persons to whom the Software is furnished to do so, subject to\n    the following conditions:\n\n    The above copyright notice and this permission notice shall be\n    included in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotwatermorning%2Fauto-git-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotwatermorning%2Fauto-git-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotwatermorning%2Fauto-git-diff/lists"}