9
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

tmuxでペインの幅・高さを等しくする

Last updated at Posted at 2016-09-08

このTipsを知らずに、今まで手動で幅・高さの調整をしていた...。

デモ

ペインの幅を均等にする

https://gyazo.com/0ea33de97d72e855de840dfe2017878c

ペインの高さを等しくする

https://gyazo.com/481298b8fd5002e933affd6261dcfde7

設定ファイル

次の設定を.tmux.confに記述している。

.tmux.conf
# 幅を等しくする
bind ^h select-layout even-horizontal

# 高さを等しくする
bind ^v select-layout even-vertical

Prefix C-hで幅を等しくし、Prefix C-vで高さを等しくする。
自分はPrefixをC-tに設定しているので、C-t -> C-hまたはC-t -> C-vになる。
※ デモでは、縦分割はPrefix |、横分割はPrefix "を使っている

9
8
0

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
9
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?