我在vim中遇到的最大瓶颈是我需要编写提交的那一刻.通常,我不记得差异.首先我写"git diff".然后我写"git commit"但是,......"嘿!我不记得了......".因此,我需要停止写提交消息,然后我回来并运行diff消息.有时我使用两个窗口:在左边我运行"git diff".在右边我运行"git commit".这允许我写一个提交消息完成,而我可以看到每个文件的差异,...等等.
有人可以帮助我在vim工作流程中改善这一时刻吗?
FDi*_*off 13
用于git commit -v在提交时查看vim中的diff.
-v, --verbose
    Show unified diff between the HEAD commit and what would be
    committed at the bottom of the commit message template. Note
    that this diff output doesn't have its lines prefixed with #.
| 归档时间: | 
 | 
| 查看次数: | 134 次 | 
| 最近记录: |