{"id":16539354,"url":"https://github.com/chemzqm/unite-git-log","last_synced_at":"2025-10-28T14:31:19.216Z","repository":{"id":148040078,"uuid":"47830854","full_name":"chemzqm/unite-git-log","owner":"chemzqm","description":"make git log works with unite","archived":false,"fork":false,"pushed_at":"2017-02-24T17:40:11.000Z","size":38,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-27T12:38:31.790Z","etag":null,"topics":["gitlog","vim"],"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/chemzqm.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}},"created_at":"2015-12-11T14:25:28.000Z","updated_at":"2020-09-04T14:27:36.000Z","dependencies_parsed_at":"2023-05-30T11:15:42.681Z","dependency_job_id":null,"html_url":"https://github.com/chemzqm/unite-git-log","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"1bd78e128b3c05f774c5856a7b85937601a296ef"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Funite-git-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Funite-git-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Funite-git-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Funite-git-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chemzqm","download_url":"https://codeload.github.com/chemzqm/unite-git-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869247,"owners_count":16555572,"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":["gitlog","vim"],"created_at":"2024-10-11T18:48:47.066Z","updated_at":"2025-10-28T14:31:13.894Z","avatar_url":"https://github.com/chemzqm.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unite-git-log\n\n该项目已停止更新，请考虑使用 [denite.nvim](https://github.com/Shougo/denite.nvim), 以及\n[denite-git](https://github.com/chemzqm/denite-git)\n\n使用 unite 界面与 gitlog 进行交互\n\n[Unite.vim](https://github.com/Shougo/unite.vim)\n\n![git-log](http://7jpox4.com1.z0.glb.clouddn.com/gitlog.gif)\n\nhttp://7jpox4.com1.z0.glb.clouddn.com/gitlog.gif\n\n**注意** 新版使用[easygit](https://github.com/chemzqm/easygit),\n如不想安装新插件，可使用调用 fugitive 插件的 tag 0.1.0\n\n## 更新\n\n2016-01-08\n* 新版去除了 `fugitive` 依赖，使用更为友好的 [easygit](https://github.com/chemzqm/vim-easygit)\n* 添加了 vim 文档\n\n2016-01-06\n* 添加了 reset 操作\n* 添加了默认 edit 操作内 quit 和 diff 的快捷键 `q` 和 `d`\n\n## 安装\n\n推荐使用你熟悉的 vim 包工具进行安装，例如：[Vundle](https://github.com/gmarik/vundle)\n\n.vimrc 中添加：\n\n    Plugin 'Shougo/unite.vim'\n    \" vimproc 必须要，可能还需要执行 make， 请阅读官方说明: https://github.com/Shougo/vimproc.vim\n    Plugin 'Shougo/vimproc'\n    Plugin 'chemzqm/easygit'\n    Plugin 'chemzqm/unite-git-log'\n\n然后安装：\n\n    :so ~/.vimrc\n    :BundleInstall\n\n## 使用\n\n* 查找当前文件的所有提交记录\n\n      :Unite gitlog\n\n* 查找所有的提交记录\n\n      :Unite gitlog:all\n\n* 查找 5 天内的所有提交记录\n\n      :Unite gitlog:all:5\n\n* 映射参考：(需自行添加到 .vimrc)：\n\n```\ncall unite#custom#profile('gitlog', 'context', {\n  \\  'start_insert': 0,\n  \\  'no_quit': 1,\n  \\  'vertical_preview': 1,\n  \\ })\nnnoremap \u003csilent\u003e \u003cspace\u003e\u003c/space\u003el  :\u003cC-u\u003eUnite -buffer-name=gitlog   gitlog\u003ccr\u003e\n```\n\n你也可以通过 `g:unite_source_gitlog_default_opts` 来调整默认的 git log 命令选项，默认值为：\n\n     --graph --no-color --pretty=format:'%h -%d %s (%cr) \u003c%an\u003e' --abbrev-commit --date=relative\n\n修改可能会造成高亮无法正常显示。\n\n## 主要快捷键\n\n* `i`    进入编辑模式过滤记录\n* `p`    预览窗口查看记录\n* `d`    与当前文件执行 diff 操作\n* `\u003ccr\u003e` 主窗口查看记录，可使用 fugitive 快捷键（例如 `gf` 进行跳转）\n* `q`    退出当前窗口\n\n\n## MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchemzqm%2Funite-git-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchemzqm%2Funite-git-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchemzqm%2Funite-git-log/lists"}