2010-06-22 20 views

cevap

144

Evet, taşıma-pencere komutunu kullanabilirsiniz:

move-window [-d] [-s src-window] [-t dst-window] 
      (alias: movew) 

Bu src-pencere pencerenin dışında bağlantı pencereye benzer dst-penceresine taşınır. Burada, src-pencere ve dst-pencere formunun olduğu oturum: window.pane (oturum ve pencere adı veya kimliği olabilir).

move-window -s chat:irc -t other_session

:

Yani, bir bir 'irc' penceresiyle oturumu 'sohbet' ve (tmux isteminde) Yapabileceğiniz 'other_session' oturumuna taşımak isteyen var varsayarak Eğer sohbete zaten varsa: irc penceresi yüzden

move-window -t other_session:

yapacak kaynak belirtmek gerekmez.

Aynı şekilde, 'other_session' oturumundan, hedefi belirtmeniz gerekmez. Eğer pencere/oturumları adlı olmadıysanız

movew -d irc:irc_window

, onların kimlikleri kullanmak zorunda.

35

Yararlı başka bir:

Assuming I have these 2 sessions: daemons and proj 

tmux link-window -dk -s daemons:0 -t proj:0 
:

link-window [-dk] [-s src-window] [-t dst-window] 
       (alias: linkw) 
     Link the window at src-window to the specified dst-window. If dst-window is specified 
     and no such window exists, the src-window is linked there. If -k is given and 
     dst-window exists, it is killed, otherwise an error is generated. If -d is given, the 
     newly linked window is not selected. 

Bu, birden fazla oturumları arasında bir pencere paylaşmak anlamına gelir

İlgili konular