我使用的是:Gstatus,可以看到状态窗口。如何直接跳转到说明文件已被修改的行。
# On branch refactor-modeldatasource
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: graphos/sources/model.py
#
no changes added to commit (use "git add" and/or "git commit -a")我在第一行,想跳到写着modified ......的行。
发布于 2013-05-22 16:33:21
不如直接按下:
/modi<enter>或者,如果您激活了相对行号,则只需按5j
编辑
如果您指的是fugitive中的快捷映射,请尝试Gstatus buffer中的<C-N>。
发布于 2013-05-22 16:40:28
:help Gstatus称其
<C-N> next file
<C-P> previous file用于下一个和前一个文件。也许就是这样?
https://stackoverflow.com/questions/16686980
复制相似问题