移除相鄰的重複行
:uniq
範例
一般模式 0 / 2命令列模式 1 / 2一般模式 2 / 2one
one
two
two
three游標位於第 1 行,第 1 欄one
one
two
two
three游標位於第 1 行,第 1 欄one
two
three游標位於第 1 行,第 1 欄保留每組連續重複行的第一行。
指令已輸入。按 Enter 執行。
已移除相鄰的重複行。
操作前後
one
one
two
two
three游標位於第 1 行,第 1 欄one
two
three游標位於第 1 行,第 1 欄從一般模式開始。