Last active
November 15, 2018 07:46
-
-
Save junho85/6313bed5c35dd0ad354701bcdff8ae5b to your computer and use it in GitHub Desktop.
tmux.conf for v2.6
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
set -g mouse on | |
setw -g mode-keys vi | |
# Use Alt-arrow keys without prefix key to switch panes | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
# Shift arrow to switch windows | |
bind -n S-Left previous-window | |
bind -n S-Right next-window | |
# scrollback buffer size increase | |
set -g history-limit 100000 | |
# change window order | |
bind-key -n C-S-Left swap-window -t -1 | |
bind-key -n C-S-Right swap-window -t +1 | |
# disable window name auto change | |
set-option -g allow-rename off | |
# bar color | |
set -g status-bg black | |
set -g status-fg white | |
# toggle pane title visibility | |
bind T run 'zsh -c "arr=( off top ) && tmux setw pane-border-status \${arr[\$(( \${arr[(I)#{pane-border-status}]} % 2 + 1 ))]}"' | |
# rename pane | |
bind t command-prompt -p "(rename-pane)" -I "#T" "select-pane -T '%%'" |
위에거 지우고 이거로 변경
# toggle pane title visibility
bind T run 'zsh -c "arr=( off top ) && tmux setw pane-border-status \${arr[\$(( \${arr[(I)#{pane-border-status}]} % 2 + 1 ))]}"'
# rename pane
bind t command-prompt -p "(rename-pane)" -I "#T" "select-pane -T '%%'"
ctrl b T 로 껐다 켰다 할 수 있음
ctrl b t 로 타이틀 바꿀 수 있음
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pane title 설정 하기