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

后端 未结 15 1874
日久生厌
日久生厌 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:45

    this is what I have to leave the vimdiff windows after using :Gdiff

    nnoremap gD :q! :Gedit!
    

提交回复
热议问题