Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .tmux.conf #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,24 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
set -g status-right-length 50
set -g status-left-length 50

set -g status-fg white
set -g status-bg colour234
set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g pane-active-border-fg colour13
set -g pane-active-border-bg colour13
set -g message-fg colour16
set -g message-bg colour221
# set -g status-fg white
# set -g status-bg colour234
set -g status-style fg=white,bg=colour234
# set -g window-status-activity-attr bold
set -g window-status-activity-style bold
# set -g pane-border-fg colour245
set -g pane-border-style fg=colour245
# set -g pane-active-border-fg colour13
# set -g pane-active-border-bg colour13
set -g pane-active-border-style bg=colour13,fg=colour13
# set -g message-fg colour16
# set -g message-bg colour221
set -g message-style bg=colour221,fg=colour16

set -g status-left '#{?client_prefix,#[fg=colour254]#[bg=colour31]#[bold],#[fg=colour250]#[bg=colour97]#[bold]} #S  #(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD) #{?client_prefix,#[fg=colour31]#[bg=colour240],#[fg=colour97]#[bg=colour240]} #[fg=colour252,bg=colour240]#(date +"%I:%M %p ")#[fg=colour240,bg=colour236] #[fg=colour236,bg=colour234]'
set -g window-status-format "#[fg=colour234,bg=colour236]#[fg=white,bg=colour236] #I  #W #[fg=colour236,bg=colour234]"
set -g window-status-current-format "#[fg=colour234,bg=brightcyan] #I  #[fg=black,bg=brightcyan,noreverse]#W #[fg=brightcyan,bg=colour234]"
set -g status-right '#[fg=colour236,bg=colour234]#[fg=colour252,bg=colour236] #{battery_icon} #{battery_percentage} #[fg=colour234, bg=colour236] #[fg=colour236,bg=colour234]#[fg=brightcyan,bg=colour236]♫ #{spotify_status} #{spotify_artist} - #{spotify_track}'
set -g status-right '#[fg=colour236,bg=colour234]#[fg=colour252,bg=colour236] #{battery_icon} #{battery_percentage} #[fg=colour234, bg=colour236]#[fg=colour252,bg=colour236]  #(osascript -e "set ovol to output volume of (get volume settings)")%% #[fg=colour234, bg=colour236] #[fg=colour236,bg=colour234]#[fg=brightcyan,bg=colour236]♫: #{current_track}'


setw -g xterm-keys on
Expand Down Expand Up @@ -56,7 +61,6 @@ set -g monitor-activity on
set -g visual-activity off

set-option -g history-limit 10000

bind r source-file ~/.tmux.conf \; display-message "Reloading configs..."

set -s escape-time 0
Expand Down Expand Up @@ -133,14 +137,14 @@ bind-key -T copy-mode-vi C-l select-pane -R
bind-key -T copy-mode-vi C-\ select-pane -l

# List of plugins
set -g @plugin 'robhurring/tmux-spotify'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'aar0nTw/tmux-itunes'

# for vim
set -g @resurrect-strategy-vim 'session'
Expand Down