Last active
December 11, 2015 01:38
-
-
Save jeekl/4524418 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g default-terminal "screen-256color" | |
| bind-key C-b last-window | |
| # start window index of 1 instead of 0 | |
| set-option -g base-index 1 | |
| # UTF-8 character support in the status bar | |
| set-option -g status-utf8 on | |
| # Set window notifications | |
| setw -g monitor-activity on | |
| set -g visual-activity on | |
| # Rather than constraining window size to the maximum size of any client | |
| # connected to the *session*, constrain window size to the maximum size of any | |
| # client connected to *that window*. Much more reasonable. | |
| setw -g aggressive-resize on | |
| # Set status bar | |
| set -g status-bg black | |
| set -g status-fg white | |
| set -g status-right "%A %d-%B %R" | |
| set -g status-left-length 30 | |
| set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]' | |
| #set -g status-left "#[fg=green]#H" | |
| set-window-option -g window-status-current-bg red | |
| # Reload key | |
| bind-key r source-file ~/.tmux.conf \; display-message "Configuration reloaded" | |
| # Pipe the current pane to a log file with Shift-H - Press Shift-H again to stop. | |
| bind-key H pipe-pane -o "exec cat >>$HOME/tmux-%F_%T.log" \; display-message "Toggled logging to $HOME/tmux-%F_%T.log" | |
| bind-key / command-prompt "find-window %1" # Find window $1 | |
| bind-key l list-windows | |
| # clock | |
| set-window-option -g clock-mode-colour colour64 #green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment