LoginSignup
3

More than 5 years have passed since last update.

tmux便利に使わせて頂いているのですが、あるサーバに入ってtmuxを起動して作業してるにもかかわらず、そこから新たなサーバに入って、tmuxを起動してしまった。(ネストしてしまった。)そんな失敗を時々します。

何が、困るかってキーバインドがかぶってるので、内側のtmuxにコマンドが送れないんですね。

そんな時は、

$ tmux unbind-key C-v
$ tmux set-option -g prefix C-t
$ tmux bind-key C-t send-prefix

キーバインドを解除した上で、新たなキーバインドを設定するという感じですね。

忘備録として。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3