我用过: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")
Run Code Online (Sandbox Code Playgroud)
我在第一线,想要跳到说的那条线modified ......
.
:help Gstatus
说它
<C-N> next file
<C-P> previous file
Run Code Online (Sandbox Code Playgroud)
用于下一个和上一个文件.也许这就是它?