# HG changeset patch # User Tomas Zeman # Date 1357076522 -3600 # Node ID 9432d03db25234a2e3b991914ebc5524827da4d7 # Parent e35b2a48aabf3d44624f79a2a8e3874dc19b1b45 config/.tmux.conf diff -r e35b2a48aabf -r 9432d03db252 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