2011-01-06 156 views

回答

8

這裏有幾個功能,它應該做你想要什麼,或者很容易地修改,達到您想要的:

Move_current_window_between_tabs

+0

這工作非常光滑。謝謝! – 2011-01-06 18:56:49

9

很多手工的,但...

:tabnew 
:buffers "note the numbers 
:split 
:bn " where n is the number of 
<CTRL-W><CTRL-W> 
:bn " for the other file 
:tabonly " not necessary, closes every other tab 

或者你可以爲它創建一個函數,請求緩衝區號,然後創建標籤,並關閉所有其他選項卡(用於打開的文件)...

+1

這正是我需要的是什麼:`:buffers`看到數字,看到了,我想拉緩衝區爲12,然後用我的光標在目標窗格中,「:b 12」。然後緩衝區12在兩個地方打開,所以關閉另一個。 – Matthew 2016-02-23 19:26:15

相關問題