我使用了 :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 ......
的那一行。
最佳答案
:help Gstatus
说它的
<C-N> next file
<C-P> previous file
用于下一个和上一个文件。也许是这样?
关于vim - 在使用 :Gstatus in vim-fugitive 时跳转到显示 `modifed...` 的行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16686980/