dotfiles/tmux.conf

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-06-08 01:22:29 +00:00
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jimeh/tmux-themepack'
set -g @plugin 'tmux-plugins/tmux-battery'
2017-08-16 13:50:12 +00:00
set -g @plugin 'tmux-plugins/tmux-ressurect'
2019-02-25 19:42:07 +00:00
set -g @plugin 'tmux-plugins/tmux-continuum'
2017-06-08 01:22:29 +00:00
# Configs
set -g @themepack 'powerline/double/cyan'
set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain} | %a %h-%d %H:%M '
set -g @batt_charged_icon "😎"
set -g @batt_charging_icon "👍"
set -g @batt_discharging_icon "👎"
set -g @batt_attached_icon "😐"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
2019-02-25 19:42:07 +00:00
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"# Split panes horizontal
bind - split-window -v -c "#{pane_current_path}"# Split panes vertically
set -g @continuum-restore 'on'
set-option -g default-command "reattach-to-user-namespace -l zsh"
set-option -g set-titles on