実際にセッションにすばやく移動する方法/プラグインはありますか?
現在の<leader>s
セッションリストページを開き、目的のセッションを選択します。
頻繁に行きたい会議があればどうすればいいかわかりません。
ベストアンサー1
「switch-client」コマンドを探している可能性があります。
switchc -t <session name|number>
はい
# create a named session
tmux new -s 'main_session'
# to switch to it you would use the command
switchc -t 'main_session'
頻繁にジャンプするセッションでは、毎回同じ名前を指定してキーをバインドできます。 ~/.tmux.conf ファイルに以下を追加します。
bind J switchc -t 'main_session'
他の良いオプションは次のとおりです。
# last session used, great for toggling between two sessions
# tmux binds this command to 'L' by default
switchc -l
# to rotate through all sessions
switchc -n
# to go to a named session
command-prompt -p 'switch to session : ' 'switchc -t %1'
~/.tmux.confにこれらのバインディングを追加できます。
# rotate through sessions
bind R switchc -n
# go to a session by name
bind S command-prompt -p 'Session name : ' 'switchc -t %1'