Vim RecallEnglish

清除引數清單中的重複項目

:argdedupe

範例

一般模式 0 / 2

清除引數清單中的重複項目。

引數

1 · alpha.txt 使用中
全域引數清單
2 · alpha.txt
全域引數清單
3 · beta.txt
全域引數清單
4 · gamma.txt
全域引數清單
操作前後

操作前

引數

1 · alpha.txt 使用中
全域引數清單
2 · alpha.txt
全域引數清單
3 · beta.txt
全域引數清單
4 · gamma.txt
全域引數清單

操作後

引數

1 · alpha.txt 使用中
全域引數清單
2 · beta.txt
全域引數清單
3 · gamma.txt
全域引數清單

從一般模式開始。引數清單裡只有指定的暫存檔案。面板分別列出這份清單和緩衝區,並標示目前使用的是第幾個引數。

範例緩衝區
alpha one
alpha two
alpha three
游標位於第 3 行,第 1 欄
詳細說明與 Vim 文件

範例已在 Vim 重播驗證

本例輸入 :argdedupe 後按 Enter。可簡寫為 :argded。