格式化選取的行
gq
範例
視覺行模式 0 / 1一般模式 1 / 1one two three four five six seven eight nine ten游標位於第 1 行,第 1 欄 · 整行選取one two three four five
six seven eight nine ten游標位於第 2 行,第 1 欄格式化選取的行。
格式化選取的行
操作前後
one two three four five six seven eight nine ten游標位於第 1 行,第 1 欄 · 整行選取one two three four five
six seven eight nine ten游標位於第 2 行,第 1 欄從逐行視覺模式開始。醒目標示的範圍來自 Vim 的實際選取結果。若畫面顯示暫存器,其內容就是該次複製或刪除的文字。