2010/02/07

Vim Tab Page 功能

Vim Tab功能


:tae[dit] or tabnew + filename     開新 tab page
:tabc 
:tabc[lose] {count}
:tabo[nly]

:tabn[ext] 下一個tab
:tabp[revious] 上一個tab



:tabm[move] [N] 移動目前的Tab Page順序到第N頁, 若N為0則移動到第一頁.

:tabfind filename* 尋找當前目錄檔案filename開頭的檔名
:tabs  列出以開啟的tab
:tabdo %s/foo/boo/g  將開啟的tab中所有foo替換成boo

Note that : Tab Page 是 Vim 7 開始加入的新功能

--

沒有留言:

張貼留言