Created
November 19, 2018 14:23
-
-
Save lanky/0a825d0aaf845d496100141002e3e78d 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
| # charsets and colour palettes | |
| set -g status-utf8 on | |
| set -g utf8 on | |
| set -g default-shell /bin/bash | |
| set-option -g default-command "exec /bin/bash" | |
| set -g default-terminal screen-256color | |
| # more obvious window splits | |
| bind | split-window -h | |
| bind - split-window -v | |
| unbind '"' | |
| unbind % | |
| # easy reloading of config file | |
| bind r source-file ~/.tmux.conf | |
| # switch windows with alt-arrow | |
| bind Left previous-window | |
| bind Right next-window | |
| # like screen for last used window | |
| bind C-b last-window | |
| # bind -n M-Up select-pane -U | |
| # bind -n M-Down select-pane -D | |
| # move betweedn splits with alt-arrow | |
| bind -n M-Left select-pane -L | |
| bind -n M-Right select-pane -R | |
| bind -n M-Up select-pane -U | |
| bind -n M-Down select-pane -D | |
| # don't wait after escape is pressed (breaks vim) | |
| set -s escape-time 0 | |
| # global options | |
| # how much history to keep | |
| set -g history-limit 10000 | |
| # shift keys to switch windows | |
| # Shift arrow to switch windows | |
| # bind -n S-Left previous-window | |
| # bind -n S-Right next-window | |
| ###################### | |
| ### WINDOW OPTIONS ### | |
| ###################### | |
| set-window-option -g automatic-rename on | |
| ###################### | |
| ### DESIGN CHANGES ### | |
| ###################### | |
| # loud or quiet? | |
| set-option -g visual-activity off | |
| set-option -g visual-bell off | |
| set-option -g visual-silence off | |
| set-window-option -g monitor-activity on | |
| set-option -g bell-action none | |
| # colour coding for window with bells in | |
| set-window-option -g window-status-bell-fg red | |
| set-window-option -g window-status-bell-bg black | |
| set-window-option -g window-status-bell-attr bright | |
| # modes | |
| # setw -g clock-mode-colour colour5 | |
| # setw -g mode-attr bold | |
| # setw -g mode-fg colour1 | |
| # setw -g mode-bg colour18 | |
| # panes | |
| # set -g pane-border-bg colour0 | |
| # set -g pane-border-fg colour19 | |
| # set -g pane-active-border-bg colour0 | |
| # set -g pane-active-border-fg colour9 | |
| # statusbar | |
| # set -g status-position bottom | |
| # set -g status-justify left | |
| set -g status-bg black | |
| # set -g status-bg green | |
| set -g status-fg white | |
| # set -g status-fg black | |
| # set -g status-bg default | |
| # set -g status-fg colour12 | |
| # set -g status-attr dim | |
| # set -g status-left '' | |
| # set -g status-right '#[fg=colour255,bg=colour8,bold] %d/%m #[fg=colour255,bg=colour8,bold] %H:%M:%S ' | |
| # set -g status-right-length 50 | |
| set -g status-left-length 0 | |
| setw -g window-status-current-fg yellow | |
| setw -g window-status-current-bg black | |
| setw -g window-status-current-attr bold | |
| setw -g window-status-current-format '|#I#[fg=colour249]: #[fg=yellow]#W#[fg=colour249]#F ' | |
| # setw -g window-status-fg colour8 | |
| # setw -g window-status-bg colour18 | |
| # setw -g window-status-attr none | |
| setw -g window-status-format '|#I #[fg=white]#W#[fg=colour244]#F ' | |
| # setw -g window-status-bell-attr bold | |
| # setw -g window-status-bell-fg colour255 | |
| # setw -g window-status-bell-bg colour1 | |
| # messages | |
| # set -g message-attr bold | |
| # set -g message-fg colour232 | |
| # set -g message-bg colour16 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment