summaryrefslogtreecommitdiffstats
path: root/tmux.conf
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-05-28 17:55:17 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-05-28 17:55:17 +0200
commit8363d12e36d1b1448cf401d2e0e80cd1f66b0cea (patch)
tree6cf3e0ce4a16638edc28b0a51c6207a2592721a7 /tmux.conf
parentdb94d67b83322c06bf3028f521f10172000fd8a3 (diff)
downloaddotfiles-8363d12e36d1b1448cf401d2e0e80cd1f66b0cea.tar.gz
dotfiles-8363d12e36d1b1448cf401d2e0e80cd1f66b0cea.tar.xz
dotfiles-8363d12e36d1b1448cf401d2e0e80cd1f66b0cea.zip
added tmux.conf
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf63
1 files changed, 63 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
new file mode 100644
index 0000000..1135429
--- /dev/null
+++ b/tmux.conf
@@ -0,0 +1,63 @@
+# .tmux.conf
+
+## if the terminal gets SLOW, turn title-setting off
+#set -g set-titles off
+
+# ctrl-a is just better to type
+set -g prefix C-a
+unbind C-b
+
+# send the prefix to client inside window (ala nested sessions)
+bind a send-prefix
+
+# toggle last window like screen
+bind C-a last-window
+
+# ctrl-a left/right (even multiple times) to step through shells
+bind -r Right next-window
+bind -r Left previous-window
+# ctrl-up for scrolling within the 'screen'
+# bind -n C-Up copy-mode
+
+# start numbering sessions at 1, not 0
+set -g base-index 1
+# set hist-limit to 5000
+set -g history-limit 15000
+# turn the repeat-time up (0.5s is a little short)
+set -g repeat-time 1000
+# unicode!
+setw -g utf8 on
+# visual bell =)
+set -g visual-bell on
+
+# ctrl+left/right cycles thru windows
+bind -n C-right next
+bind -n C-left prev
+
+# listen for activity on all windows
+set -g bell-action any
+
+# choose-session with C-a _
+bind _ choose-session
+
+# bashrc makes takes care of window titles
+setw -g automatic-rename off
+
+# more colors
+set -g default-terminal "screen-256color"
+
+# display time
+set -g display-time 200
+
+# pimp the status bar
+set -g status-fg white
+set -g status-bg black
+set -g status-utf8 on
+set -g status-left-length 50
+set -g status-left "#[fg=red,bold]$USER#[fg=yellow,bold]@#[fg=green,bold]#H#[fg=colour250]:#S #[fg=white]| #[fg=yellow]#(date +%d.%b.%y) #[fg=white]|"
+set -g status-right "#[fg=red,bold](#(cat /proc/loadavg | head -c 14))"
+
+## and the notification messages
+set -g message-bg red
+set -g message-fg white
+set -g message-attr bold