vim -p fil1 file2 file3 在新标签中打开这些文件。
:tabe[dit] *:tabe* *:tabedit* *:tabnew*
:tabnew 在当前的标签后打开新标签。
:tabn 下一个tab
:tabp 上一个tab
:tabn [N] 跳到第N个tab.
:tabs 显示所有的tab,在当前tab会一个">"的标识。
:tabs
Tab page 1
templates/templates/sysadmin/user_ftp_dirs.tpl
Tab page 2
> templates/templates/sysadmin/servers.tpl
Tab page 3
templates/templates/sysadmin/tasksinprocess.tpl
Tab page 4
templates/templates/user/user-ftp-files.tpl
:tabc[lose][!] Close current tab page. 关闭当前tab页。
:tabc[lose][!] {count} Close tab page {count}.关闭第count个tab页.
:tabo[nly][!] Close all other tab pages. 关闭所有其它标签页。
更多帮助请键入命令 :help tab-page-intro
vi中的tab操作
版权声明:本文为renhuailin原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。