Permalink
Browse files

tmux設定した

  • Loading branch information...
1 parent d3e14cd commit a12501d56ac36f3cae6be96663d5fed62f1a4679 eru_tndl committed Mar 10, 2012
Showing with 63 additions and 0 deletions.
  1. +63 −0 _tmux.conf
View
@@ -1,2 +1,65 @@
+# Prefix
set-option -g prefix C-z
+
+# View
+set -g status-interval 5
+set -g status-left-length 16
+set -g status-right-length 50
+
+set -g status-bg black
+set -g status-fg white
+set -g status-left '#[fg=cyan,bold][#20(whoami)@#H:#S]#[default]'
+set -g status-right '#[fg=magenta,bold]#[fg=blue,bold][%a %m/%d %H:%M]#[default]'
+set -g message-attr bold
+set -g message-fg white
+set -g message-bg red
+
+set -g pane-active-border-bg black
+set -g pane-active-border-fg cyan
+
+set-window-option -g mode-bg black
+set-window-option -g mode-fg white
+set-window-option -g window-status-bg black
+set-window-option -g window-status-fg white
+set-window-option -g window-status-current-bg black
+set-window-option -g window-status-current-fg green
+set-window-option -g window-status-current-attr bold
+
+# Options
+# utf8有効
+set-window-option -g utf8 on
+# コピー、選択モードのキーバインドvi/emacs
set-window-option -g mode-keys vi
+# マウス有効。MacのTerminal.appでは効かず…
+set-option -g mouse-select-pane on
+# ウィンドウ等の番号基準値
+set-option -g base-index 1
+
+# KeyBindings
+unbind l
+unbind ^C
+
+bind C-r source-file ~/.tmux.conf
+bind C-t next-window
+bind c new-window
+
+bind -r C-h resize-pane -L 6
+bind -r C-l resize-pane -R 6
+bind -r C-j resize-pane -D 6
+bind -r C-k resize-pane -U 6
+bind -r s swap-pane -U
+
+bind k kill-pane
+bind K kill-window
+bind i display-panes
+bind y copy-mode
+bind p paste-buffer
+
+bind b break-pane
+bind h split-window -v
+bind v split-window -h
+
+bind y copy-mode
+bind p paste-buffer
+
+bind Space choose-window

0 comments on commit a12501d

Please sign in to comment.