原 文: http://www.vim.org/tips/tip.php?tip_id=1223 翻 译: huangyi yi.codeplayer@gmail.com 修 订: 更新日期: 2006-05-18 VimTip 1223: 将当前缓冲区移动到新的标签页 -------------------------------------------- function MoveToTab() let l:current = bufnr('%') close tabnew exe "b ". l:current endfunction map to :call MoveToTab() 相关评论 ---------- * 我想这个可以浓缩成 :tab sp * 将当前窗口移动到新的标签页的一个可选方式是: T (capital) :)