前往第一行
gg
範例
一般模式 0 / 1一般模式 1 / 1one two three
four five six
seven eight nine游標位於第 3 行,第 5 欄one two three
four five six
seven eight nine游標位於第 1 行,第 1 欄前置數字可指定行號,例如 20gg 會跳到第 20 行。
移至緩衝區的第一行
操作前後
one two three
four five six
seven eight nine游標位於第 3 行,第 5 欄one two three
four five six
seven eight nine游標位於第 1 行,第 1 欄從一般模式開始。
詳細說明與 Vim 文件
範例已在 Vim 重播驗證
前置數字可指定行號,例如 20gg 會跳到第 20 行。
gg 移到第一行。20gg 等帶數字的寫法則移到指定行號。停靠的欄位由 startofline 決定。