summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-02-12 14:51:09 +0100
committerPatrick Simianer <p@simianer.de>2016-02-12 14:51:09 +0100
commit39f029945ca1578c91b43b3deb5ddd076e5a7598 (patch)
tree177a8aad56fa0dd4b811c174eaea15df129d1e72 /tmux/.tmux.conf
parent098ff5a14faf9542a62bfb07d50c06e689525137 (diff)
using gnu stow for dotfiles now
Diffstat (limited to 'tmux/.tmux.conf')
-rw-r--r--tmux/.tmux.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..ff6881f
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,43 @@
+# act like vim
+setw -g mode-keys vi
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+bind-key -r C-h select-window -t :-
+bind-key -r C-l select-window -t :+
+
+# act like GNU screen
+unbind C-b
+set -g prefix C-a
+
+# look good
+set -g default-terminal "screen-256color"
+
+# status
+set -g status-left-length 32
+set -g status-right-length 150
+set -g status-fg white
+set -g status-bg colour234
+set -g window-status-activity-attr bold
+set -g pane-border-fg colour245
+set -g pane-active-border-fg magenta
+set -g message-fg colour16
+set -g message-bg colour221
+set -g message-attr bold
+set -g status-left ''
+set -g status-right '#[underline]#[fg=colour235,bg=colour13,bold] #S'
+set-option -g set-titles on
+# #H Hostname of local host
+# #I Current window index
+# #P Current pane index
+# #S Session name
+# #T Current window title
+# #W Current window name
+# ## A literal ‘#’
+set -g set-titles-string '#T -- #W'
+set-window-option -g automatic-rename on
+set-option -g status-interval 1
+set-option -g status-utf8 on
+set-window-option -g utf8 on
+