Created
June 19, 2013 09:01
-
-
Save shigemk2/5812814 to your computer and use it in GitHub Desktop.
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-option -g base-index 1 | |
#全てのベルを無視 | |
set-option -g bell-action none | |
#ウィンドウ履歴で保持される最大行数 | |
set-option -g history-limit 5000 | |
#Escapeキー入力時の待ち時間(0.5秒)をキャンセル | |
set-option -s escape-time 0 | |
# # 自動リネームを切る | |
set-window-option -g automatic-rename off | |
#+----------------------------------------------------------------------------------------+ | |
# キーバインド | |
#+----------------------------------------------------------------------------------------+ | |
#コピーモードに入る | |
bind-key y copy-mode | |
#Yで一行コピー | |
#http://blog.m4i.jp/entry/2012/02/13/155233 | |
bind-key -t vi-copy Y copy-line | |
#~/.tmux.conf をリロード | |
bind-key r source-file ~/.tmux.conf; display "Reloaded!" | |
#ペインを水平・垂直分割 | |
bind-key s split-window -h | |
bind-key v split-window -v | |
#h,j,k,lでペインを切り替え | |
bind-key h select-pane -L | |
bind-key j select-pane -D | |
bind-key k select-pane -U | |
bind-key l select-pane -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment