VimTip 8: Jumping to the declaration of a local/global variable
'gd' command To jump to the declaration of a local variable in a C program, position the cursor on the name of the variable and use the gd command.
gd 在c语言中就是跳到光标下本地变量的声名处
'gD' command: To jump to the declaration of a global variable in a C program, position the cursor on the name of the variable and use the gD command.
gD 在c语言中就是跳到光标下全局变量的声名处
#其实啊,在普通的文件中我觉得两个命令跟*和#基本上是一样的
'gd' command To jump to the declaration of a local variable in a C program, position the cursor on the name of the variable and use the gd command.
gd 在c语言中就是跳到光标下本地变量的声名处
'gD' command: To jump to the declaration of a global variable in a C program, position the cursor on the name of the variable and use the gD command.
gD 在c语言中就是跳到光标下全局变量的声名处
#其实啊,在普通的文件中我觉得两个命令跟*和#基本上是一样的
Technorati Tags: vi
评论