How do you exit vimdiff mode in vim, specifically, for Fugitive?

后端 未结 15 1876
日久生厌
日久生厌 2021-01-30 05:01

I am using vim with the fugitive extension. It has a :Gdiff command which brings you into vimdiff mode, but what is the right/quick way to close/quit vimdiff mode?

I.e.,

15条回答
  •  孤独总比滥情好
    2021-01-30 05:35

    Running :Gwrite after merging to your satisfaction will close the other two diff panes in addition to updating the git cache to mark the file as merged.

提交回复
热议问题