# vim: ft=tmux # original from bl1nk # Styles setw -g mode-style fg=yellow,bg=default,bright setw -g window-status-style fg=default,bg=default,dim setw -g window-status-current-style fg=yellow,bg=default,dim set -g message-style fg=red,bg=default,bright set -g status-style fg=default,bg=black,bright set -g pane-active-border-style fg=default,bg=black # Options set -g bell-action any set -g history-limit 50000 set -g status on set -g status-keys vi set -g set-titles on set -g default-terminal "screen-256color" set -g set-titles-string "tmux:#I [ #W ]" set -g base-index 1 #set -g status-left-length 30 set -g status-left '#[fg=green]#H #[fg=black,bright]• #[default]#[fg=blue]#(uname -r)#[default] #[fg=black,bright]• #[default]' set -g status-justify centre set -g status-right '#[fg=black,bright]• #[fg=magenta]#(cat /proc/loadavg)' set -g status-left-length 40 set -g status-right-length 40 setw -g automatic-rename on setw -g clock-mode-style 24 setw -g mode-keys vi #setw -g mode-mouse on setw -g aggressive-resize on set -g prefix C-a unbind-key C-b bind-key C-a send-prefix #bind-key C-l command-prompt "link-window -s '%%'" bind-key W command-prompt "swap-window -t '%%'" bind-key R command-prompt "rename-session '%%'" # confirm before killing a window or the server bind-key k confirm kill-window bind-key K confirm kill-server #bind j down-pane #bind k up-pane # Keys to switch session. #bind q switchc -tmain #bind w switchc -tmusic # Other key bindings. bind i choose-window bind v neww -c '#{pane_current_path}' # Default Sessions #new -d -s maini bind-key b set-option status bind r source-file ~/.tmux.conf