发现一些g系列的命令 以前没有注意到 大家可以看看
gd will take you to the local declaration.
gD will take you to the global declaration.
g* search for the word under the cursor (like *,but g* on 'rain' will find words like 'rainbow').
g# same as g* but in backward direction.
gg goes to the first line in the buffer (or provide a count before the command for a specific line).
G goes to the last line (or provide a count before the command for a specific line).
See alsoEdit
gf will go to the file under the cursor g] and other commands will jump to a tag definition (a tag can be a function or variable name,or more).
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。