config/.tmux.conf
authorTomas Zeman <tzeman@volny.cz>
Tue, 01 Jan 2013 22:42:02 +0100
changeset 26 9432d03db252
parent 25 e35b2a48aabf
child 27 3600c419f516
config/.tmux.conf
config/.tmux.conf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config/.tmux.conf	Tue Jan 01 22:42:02 2013 +0100
@@ -0,0 +1,37 @@
+# dynamic titles - https://bbs.archlinux.org/viewtopic.php?id=48358
+set -g set-titles on
+
+# based on http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/
+
+# prefix opt
+set-option -g prefix C-a
+#set-option -g prefix `
+
+# last window hotkey which allows you to quickly switch between the current window and last window that was active
+bind-key C-a last-window
+
+unbind % # Remove default binding since we’re replacing
+bind | split-window -h
+bind - split-window -v
+
+# Set status bar
+set -g status-bg green
+set -g status-fg black
+set -g status-left "#[fg=grey]#H:#S"
+
+# Highlight active window
+set-window-option -g window-status-current-fg yellow
+
+#set -g status-right "#[fg=yellow]#(uptime | cut -d, -f 2-) %Y-%m-%d %c:%s"
+set -g status-interval 1
+set -g status-right "#[fg=yellow]%F %T"
+
+# Set window notifications
+setw -g monitor-activity on
+set -g visual-activity on
+
+# Automatically set window title
+setw -g automatic-rename
+
+# mode keys
+setw -g mode-keys vi