pla*_*etp 4 git vim vim-plugin git-blame
来自vim 的逃犯插件的自述文件:
:Gblame带有git blame输出的交互式垂直分割.按行上的Enter键以编辑行更改的提交,或按o以拆分方式打开它.
一旦我按下特定的提交输入,是否可以返回到责备输出?
Zac*_*ach 12
我想你可能正在寻找的是 -
O,o而不是<CR>如果你知道你将回到提交.
以下是该:Gblame命令的所有标志:
Run Code Online (Sandbox Code Playgroud)*fugitive-:Gblame* :Gblame [flags] Run git-blame on the file and open the results in a scroll bound vertical split. You can give any of ltfnsewMC as flags and they will be passed along to git-blame. The following maps, which work on the cursor line commit where sensible, are provided: g? show this help A resize to end of author column C resize to end of commit column D resize to end of date/time column q close blame and return to blamed window gq q, then |:Gedit| to return to work tree version <CR> q, then open commit o open commit in horizontal split O open commit in new tab - reblame at commit ~ reblame at [count]th first grandparent P reblame at [count]th parent (like HEAD^[count])
有关命令的更多信息Fugitive,请查看此处.