Last active
February 23, 2017 19:50
-
-
Save pbzona/c3a23c659ed80189ceb499693d4a5af7 to your computer and use it in GitHub Desktop.
Tmux config file...for now
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
# Set the default terminal mode to 256color mode | |
set -g default-terminal "screen-256color" | |
# enable activity alerts | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Reset prefix to C-a | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
# Enable mouse control | |
set -g mouse on | |
# Switch panes with Alt + arrow key (no prefix) | |
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 | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
################# | |
# Display Options | |
################# | |
# status bar | |
set-option -g status-position bottom | |
set -g status-fg black | |
set -g status-bg yellow | |
set -g status-left '' | |
set -g status-right-length 60 | |
set -g status-right '♪ #(exec amixer get Master | egrep -o "[0-9]+%" | egrep -o "[0-9]*") | ♥#(acpi | cut -d ',' -f 2) | %a %m-%d %H:%M' | |
# tabs | |
setw -g window-status-format "#[fg=white]#[bg=blue] #I #[bg=blue]#[fg=white] #W " | |
setw -g window-status-current-format "#[bg=red]#[fg=white] *#I #[fg=white,bold]#[bg=blue] [#W] " | |
#setw -g window-status-content-attr bold,blink,reverse | |
# panes | |
set -g pane-border-fg white | |
set -g pane-active-border-fg brightgreen | |
################# | |
# List of plugins | |
################# | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
# Other examples: | |
# # set -g @plugin 'github_username/plugin_name' | |
# # set -g @plugin 'git@github.com/user/plugin' | |
# # set -g @plugin 'git@bitbucket.com/user/plugin' | |
# | |
# # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment