Skip to content

Instantly share code, notes, and snippets.

@cameronism
Created October 9, 2016 22:26
Show Gist options
  • Save cameronism/5eb0042bc4b4eb0e1e0b90d3b457687b to your computer and use it in GitHub Desktop.
Save cameronism/5eb0042bc4b4eb0e1e0b90d3b457687b to your computer and use it in GitHub Desktop.
set -g mouse on
set-window-option -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
set -g @batt_color_full_charge '#[fg=colour64]' #green
set -g @batt_color_high_charge '#[fg=colour64]' #green
set -g @batt_color_medium_charge '#[fg=colour136]' #orange
set -g @batt_color_low_charge '#[fg=colour160]' #red
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g status-right '#[fg=colour136]#(/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk "/ SSID: (.+)/{print \$2}") #[fg=colour244]#(ipconfig getifaddr en0) #{battery_icon}#{battery_status_bg}#{battery_percentage} #{battery_remain}#[fg=colour244]#[bg=colour235] %H:%M'
# 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