Created
April 15, 2017 04:18
-
-
Save jldeen/edf32e5708893466e9e25acfc7e21700 to your computer and use it in GitHub Desktop.
jldeen tmux conf
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
# remap prefix to Control + a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# force a reload of the config file | |
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." | |
set -s escape-time 0 | |
set -g xterm-keys on | |
# Mouse support ---------------------------------------------------------- | |
set -g mouse on | |
# ------------------------------------------------------------------------ | |
# Easy-to-remember split pane commands | |
bind \ split-window -h -c '#{pane_current_path}' # vertical pane | |
bind - split-window -v -c '#{pane_current_path}' # horizontal pane | |
unbind '"' | |
unbind % | |
# Task manager | |
set -g @tasks_manager 'taskwarrior' | |
# Colors | |
set -g @tasks_format_begin '#[fg=white,bg=colour236]' | |
set -g @tasks_format_end '#[fg=white,bg=colour236]' | |
# Icons | |
set -g @tasks_icon_urgent '⧗ ' | |
set -g @tasks_icon_outstanding '+ ' | |
# Status bar ------------------------------------------------------------- | |
set-option -g status on | |
set-option -g set-titles on | |
set -g status-interval 1 | |
set-option -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION DISPLAY" | |
set -g status-position bottom | |
set -g status-bg colour237 | |
set -g status-fg colour137 | |
set -g status-attr dim | |
set -g status-left '#[fg=colour197]#(~/bin/internet_info.sh) #{tasks_status} ' | |
set -g status-right '#[fg=colour81]♪ #(~/bin/now_playing.sh) #(~/bin/battery.sh) #[fg=colour255,bg=colour241,bold] %a %m-%d #[fg=colour255,bg=colour241,bold] %H:%M:%S #[fg=colour165]#[bg=default] #H ' | |
set -g status-right-length 100 | |
set -g status-left-length 70 | |
set-window-option -g aggressive-resize | |
setw -g window-status-current-fg colour170 | |
setw -g window-status-current-bg colour239 | |
setw -g window-status-current-attr bold | |
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour170]#F ' | |
set-option -g set-titles-string 'do epic shit. | #S | / #W' | |
setw -g window-status-current-fg colour170 | |
setw -g window-status-current-attr bold | |
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour170]#F ' | |
# Plugins | |
# List of plugins | |
set -g @tpm_plugins ' \ | |
tmux-plugins/tpm \ | |
chriszarate/tmux-tasks \ | |
soyuka/tmux-current-pane-hostname \ | |
' | |
# 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