Vim RecallEnglish

跳至 #define

:djump

範例

一般模式 0 / 2
#include "defs.h"
int result = LIMIT;
游標位於第 1 行,第 1 欄

跳至 #define。

視窗

main.c 使用中
#include "defs.h" int result = LIMIT;
操作前後
操作前
#include "defs.h"
int result = LIMIT;
游標位於第 1 行,第 1 欄

視窗

main.c 使用中
#include "defs.h" int result = LIMIT;
操作後
#define LIMIT 3
int helper(void);
游標位於第 1 行,第 9 欄

視窗

defs.h 使用中
#define LIMIT 3 int helper(void);

依 Vim 文件示範。+find_in_path。main.c 包含顯示的 defs.h,path=. 找到它,define 符合 #define,include 符合 #include。跳至 defs.h 中的巨集定義。主要說明::djump。

詳細說明與 Vim 文件

本例輸入 :djump LIMIT 後按 Enter。可簡寫為 :dj。