Help us understand the problem. What is going on with this article?

tmux 設定&Tips (自分用めも)

More than 5 years have passed since last update.

screenからtmuxに乗り換えるにあたって
あまり戸惑わないように&凝りすぎないようにしてる自分用のメモ

設定

tmux.conf
# prefix key 変更
set-option -g prefix C-t
# keybind をvi風に
set-window-option -g mode-keys vi
# ペイン移動もvi風に
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# tmux.confのreloadを簡単に
bind r source-file ~/.tmux.conf; display-message "Reload Config!!"

# log output
# 参考: http://blog.glidenote.com/blog/2013/02/04/tmux-pipe-pane-logging/
bind-key H pipe-pane 'cat >> $HOME/.tmux/`date +%Y-%m-%d-%H-%M-%S`.log' \; display-message 'Started logging'
bind-key h pipe-pane \; display-message 'Ended logging'

操作

キーバインド コマンド
Prefix + c 新しいウィンドウ作成
Prefix + n 次のウィンドウに移動
Prefix + p 前のウィンドウに移動
Prefix + d デタッチ
Prefix + " ウィンドウを上下のペインに分割
Prefix + % ウィンドウを左右のペインに分割
Prefix + [ コピーモード
Prefix + ] ペースト
Prefix + t どーんと時計を表示
Prefix + ? 困ったらこれを見る
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした