Created
July 20, 2014 01:45
-
-
Save chroju/705c90c240abe035a98e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # ESCキーの効きを改善 | |
| set -s escape-time 0 | |
| # マウススクロールを許可 | |
| set-window-option -g mode-mouse on | |
| # クリップボード設定 | |
| set-option -g default-command "reattach-to-user-namespace -l bash" | |
| # 文字コード設定 | |
| set-window-option -g utf8 on | |
| set -g status-utf8 on | |
| # 色設定 | |
| set-option -g default-terminal screen-256color | |
| set -g pane-active-border-bg black | |
| set -g pane-active-border-fg cyan | |
| set -g status-bg black | |
| set-window-option -g window-status-bg black | |
| set-window-option -g window-status-fg white | |
| set-window-option -g window-status-current-attr bright | |
| # キーバインド | |
| set-option -g prefix C-z | |
| unbind C-b | |
| bind C-r source-file ~/.tmux.conf \; display-message "Reload Config!!" | |
| bind h select-pane -L | |
| bind j select-pane -D | |
| bind k select-pane -U | |
| bind l select-pane -R | |
| bind H resize-pane -L | |
| bind J resize-pane -D | |
| bind K resize-pane -U | |
| bind L resize-pane -R | |
| bind s split-window -v | |
| bind v split-window -h | |
| unbind [ | |
| bind y copy-mode | |
| unbind K | |
| bind K confirm-before "kill-window" | |
| unbind Q | |
| bind Q confirm-before "kill-server" | |
| # コピーモード設定 | |
| setw -g mode-keys vi | |
| bind-key -t vi-copy v begin-selection | |
| bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" | |
| unbind -t vi-copy Enter | |
| bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" | |
| # powerline | |
| set-option -g status on | |
| set-option -g status-interval 2 | |
| set-option -g status-utf8 on | |
| set-option -g status-justify "left" | |
| set-option -g status-left-length 120 | |
| set-option -g status-right-length 120 | |
| # set-option -g status-left "#S #[fg=green,bg=black]#(tmux-mem-cpu-load --colors 2)#[default]" | |
| set-option -g status-left "#(~/tmux-powerline/powerline.sh left)" | |
| set-option -g status-right "#(~/tmux-powerline/powerline.sh right)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment