Browse files

Tmux config

  • Loading branch information...
1 parent b06c589 commit 0a4906d4c33bba8c62967925a62bf1f3dce09038 Francisco J committed Apr 25, 2012
Showing with 38 additions and 0 deletions.
  1. +38 −0 .tmux.conf
View
38 .tmux.conf
@@ -0,0 +1,38 @@
+set -g default-terminal screen-256color
+bind R source-file ~/.tmux.conf \; display-message " Config reloaded..."
+
+set -g mode-keys vi
+unbind [
+bind Escape copy-mode
+unbind p
+bind p paste-buffer
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+
+# Status colors
+set -g status-bg black
+set -g status-fg white
+set -g status-left '#[fg=green]#H'
+set-window-option -g window-status-current-bg red
+
+# Right status
+set -g status-right '#[fg=yelow]#(uptime | cut -d ":" -f4-)'
+
+# Activity monitor
+setw -g monitor-activity on
+set -g visual-activity on
+# Don't rename the windows
+setw -g automatic-rename off
+
+# Set movement keys as in Vim
+unbind h
+bind h select-pane -L
+unbind j
+bind j select-pane -D
+unbind k
+bind k select-pane -U
+unbind l
+bind l select-pane -R
+
+# Go to last selected window
+bind-key C-a last-window

0 comments on commit 0a4906d

Please sign in to comment.