Created
September 23, 2020 15:24
-
-
Save mollifier/9f577b018bc7176c783da7ecd97f40ab to your computer and use it in GitHub Desktop.
簡単なtmux.confの例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 簡単なtmux.confの例 | |
# プレフィックスキーをCtrl+tに変更する | |
unbind-key C-b | |
set-option -g prefix C-t | |
bind-key C-t send-prefix | |
# Ctrlを押したままウィンドウの切り替えができるようにする | |
bind-key C-c new-window | |
bind-key C-n next-window | |
bind-key C-p previous-window | |
# Ctrl+h,j,k,lでペインを切り替える | |
# h = 左、j = 下、k = 上、l = 右 | |
bind-key h select-pane -L | |
bind-key C-h select-pane -L | |
bind-key j select-pane -D | |
bind-key C-j select-pane -D | |
bind-key k select-pane -U | |
bind-key C-k select-pane -U | |
bind-key l select-pane -R | |
bind-key C-l select-pane -R | |
# Escを押すと、待ち時間なしで即座に単独のEscとみなす | |
set-option -s escape-time 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment