使用 vim-fugitive,
是否有一种简单的方法来“取消拆分”和:Gedit
(返回到工作树中的当前对象)?
例如在 Gcommit
/Gstatus
缓冲区中时,您可以按 D 进入并排差异。
现在,按 ZZ 只会给我留下一个编辑器,查看 fugitive://
端...
要回到单一编辑器(我必须使用工作树版本
ZZ:GeditEnter
(或 ZZZZ 关闭两侧)。
我想要在 Gblame
下记录的类似 gq
的内容:
q close blame and return to blamed window
gq q, then |:Gedit| to return to work tree version
最佳答案
作为suggested by Tim Pope你可以简单地关闭另一个窗口 <C-W><C-O>
.
关于git - 离开 Fugitive 的 Diff View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19789829/