顯示相符的標籤並選擇一個
:tselect
範例
一般模式 0 / 3命令列模式 1 / 3等待選擇 2 / 3一般模式 3 / 3call Paint()游標位於第 1 行,第 1 欄call Paint()游標位於第 1 行,第 1 欄call Paint()游標位於第 1 行,第 1 欄def Paint()游標位於第 1 行,第 1 欄顯示相符的標籤並選擇一個。
視窗
- main.vim 使用中
call Paint()
已準備標籤
- 1: Paint
a.vim 第 1 行:def Paint()- 2: Paint
b.vim 第 1 行:def Paint()
指令已輸入。按 Enter 執行。
視窗
- main.vim 使用中
call Paint()
已準備標籤
- 1: Paint
a.vim 第 1 行:def Paint()- 2: Paint
b.vim 第 1 行:def Paint()
列出兩個匹配的 Paint 標籤並等待輸入數字。尚未選擇任何目的地。
視窗
- main.vim 使用中
call Paint()
已準備標籤
- 1: Paint
a.vim 第 1 行:def Paint()- 2: Paint
b.vim 第 1 行:def Paint()
標籤選擇
1 Paint a.vim 2 Paint b.vim Type number and <Enter> (q or empty cancels):
在目前的分割視窗中,跳轉至 b.vim 中選定的第二個標籤。
視窗
- b.vim 使用中
def Paint()
已準備標籤
- 1: Paint
a.vim 第 1 行:def Paint()- 2: Paint
b.vim 第 1 行:def Paint()
操作前後
call Paint()游標位於第 1 行,第 1 欄視窗
- main.vim 使用中
call Paint()
已準備標籤
- 1: Paint
a.vim 第 1 行:def Paint()- 2: Paint
b.vim 第 1 行:def Paint()
def Paint()游標位於第 1 行,第 1 欄視窗
- b.vim 使用中
def Paint()
已準備標籤
- 1: Paint
a.vim 第 1 行:def Paint()- 2: Paint
b.vim 第 1 行:def Paint()
主題::tselect。依 Vim 文件示範。此例假設+quickfix、可讀的標籤與目的地檔案,且恰好有這兩個匹配。splitbelow 未設定。previewpopup 為空。英文訊息。顯示的標籤列表為摘要。未用 Vim 重播驗證。列出兩個匹配的 Paint 標籤並等待輸入數字。尚未選擇任何目的地。