Last active
May 19, 2017 07:40
-
-
Save david-thorman/51eeaa447c2809d3a249 to your computer and use it in GitHub Desktop.
Wooo tmux
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 prefix C-a | |
| unbind C-b | |
| bind a send-prefix | |
| # Setting vi style stuff | |
| set -g status-keys vi | |
| set -g history-limit 10000 | |
| setw -g monitor-activity on | |
| unbind , | |
| bind-key A command-prompt -I "#W" "rename-window '%%'" | |
| bind-key C command-prompt "new-window '%%'" | |
| bind-key '"' choose-window | |
| bind-key v split-window -h | |
| bind-key s split-window -v | |
| bind-key C-o swap-pane -s 0 | |
| bind-key C-a last-window | |
| bind-key -r Space next-layout | |
| bind-key @ set synchronize-panes | |
| # Vim style pane manipulation | |
| bind -r h select-pane -L | |
| bind -r j select-pane -D | |
| bind -r k select-pane -U | |
| bind -r l select-pane -R | |
| bind-key -r J resize-pane -D 5 | |
| bind-key -r K resize-pane -U 5 | |
| bind-key -r H resize-pane -L 5 | |
| bind-key -r L resize-pane -R 5 | |
| setw -g xterm-keys on | |
| # use vi mode in scroll mode and paste mode | |
| setw -g mode-keys vi | |
| # Status Bars | |
| set -g status-interval 5 | |
| set -g status-left-length 16 | |
| set -g status-left '[#14H:#S]' | |
| set -g status-right '%a %m/%d %H:%M' | |
| # Setting a default term that doesn't suck | |
| set -g default-terminal "screen-256color" | |
| # Making it nicer to attach in multiple places. | |
| setw -g aggressive-resize on | |
| set -g renumber-windows on | |
| setw -g automatic-rename on | |
| setw -g allow-rename off | |
| ### Zenburn ? | |
| setw -g clock-mode-colour colour117 | |
| setw -g mode-attr bold | |
| setw -g mode-fg colour117 | |
| setw -g mode-bg colour238 | |
| set -g status-bg colour235 | |
| set -g status-fg colour248 | |
| set -g status-attr dim | |
| set -g status-left '¯\(´_`)/¯ #[fg=colour187,bold]#H ' | |
| set -g status-right '#[fg=colour187,bold]%a %m/%d %H:%M' | |
| set -g status-right-length 80 | |
| set -g status-left-length 30 | |
| setw -g window-status-bg colour235 | |
| setw -g window-status-fg colour248 | |
| setw -g window-status-current-fg colour223 | |
| setw -g window-status-current-bg colour237 | |
| setw -g window-status-current-attr bold | |
| setw -g window-status-bell-bg colour223 | |
| setw -g window-status-bell-fg colour237 | |
| setw -g window-status-activity-bg colour223 | |
| setw -g window-status-activity-fg colour237 | |
| set -g message-attr bold | |
| set -g message-fg colour223 | |
| set -g message-bg colour237 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment