Created
October 1, 2012 03:09
-
-
Save mitzimoto/3809263 to your computer and use it in GitHub Desktop.
My Tmux config file.
This file contains 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
#Bindings and stuff | |
set -g prefix C-a | |
bind-key a send-prefix | |
unbind [ | |
bind Escape copy-mode | |
unbind-key C-b | |
#bind-key C-a last-window | |
set -g base-index 1 | |
set-option -g mouse-select-pane on | |
set-window-option -g mode-keys vi | |
#Pane zoom | |
bind } run "if [[ $(tmux list-window) =~ tmux-zoom ]]; then tmux last-window; tmux swap-pane -s tmux-zoom.0; tmux kill-window -t tmux-zoom; else tmux new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read'; tmux swap-pane -s tmux-zoom.0; tmux select-window -t tmux-zoom;fi" | |
# Set status bar | |
set -g status-bg colour235 | |
set -g status-fg white | |
set -g status-left-length 30 | |
set -g status-right-length 60 | |
set -g status-left '#[bg=colour235,fg=blue]⮀ #[default]' | |
set -g status-right '#[bg=blue,fg=colour235]⮀#[fg=colour235,bg=blue] local ' | |
set-window-option -g window-status-current-bg blue | |
set-window-option -g window-status-current-fg '#2F2828' | |
#Notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
#tab | |
bind-key -n C-right next | |
bind-key -n C-left prev | |
#set 256 color | |
set -g default-terminal "screen-256color" | |
setw -g window-status-format '#[fg=blue,bg=colour235]#I #[default]#W ' | |
setw -g window-status-current-format '#[bg=blue,fg=colour235]⮀ #[fg=white,bg=blue]#I #[bg=blue,fg=colour235]#W #[bg=colour235,fg=blue]⮀' | |
setw -g window-status-activity-bg colour235 | |
setw -g window-status-activity-attr bold | |
setw -g window-status-activity-fg white |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment