Skip to content

Instantly share code, notes, and snippets.

@sekitaka
Last active February 21, 2017 02:20
Show Gist options
  • Save sekitaka/be731c10271a2b250106 to your computer and use it in GitHub Desktop.
Save sekitaka/be731c10271a2b250106 to your computer and use it in GitHub Desktop.
## Prefixキーの解除
unbind-key C-b
## Prefix キーの設定
set-option -g prefix C-j
bind-key C-j send-prefix
## ウインドウ番号を1から開始
set-option -g base-index 1
## コピーモードをviふうにする
set-window-option -g mode-keys vi
## マウス操作をONにする
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g pane-active-border-fg black
set -g pane-active-border-bg cyan
# 全てのペインに同じ操作
bind e set-window-option synchronize-panes on
bind E set-window-option synchronize-panes off
# conf適用
bind r source-file ~/.tmux.conf\; display-message "Reload Config!!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment