Skip to content

Instantly share code, notes, and snippets.

@sadjad
Created October 24, 2019 20:48
Show Gist options
  • Save sadjad/32850b5977d57a35eb2ff16929ccf968 to your computer and use it in GitHub Desktop.
Save sadjad/32850b5977d57a35eb2ff16929ccf968 to your computer and use it in GitHub Desktop.
set -g default-terminal "screen-256color"
# Use Alt-arrow keys without prefix key to switch panes
bind -n S-Left select-pane -L
bind -n S-Right select-pane -R
bind -n S-Up select-pane -U
bind -n S-Down select-pane -D
# Shift arrow to switch windows
bind -n C-Left previous-window
bind -n C-Right next-window
# modes
setw -g clock-mode-colour colour5
setw -g mode-style fg=colour1,bg=colour18,bold
# panes
set -g pane-border-style bg=default,fg=colour240
set -g pane-active-border-style bg=default,fg=colour255
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style bg=colour17,fg=colour137,dim
set -g status-left ''
set -g status-right "#[fg=colour15,bg=colour21] #(df -h / | tail -n1 | awk '{ print $4 }') #[fg=colour15,bg=colour20] %d/%m/%Y #[fg=colour15,bg=colour21] %H:%M:%S "
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-style fg=colour15,bg=colour18,bold
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
setw -g window-status-style fg=colour15,bg=colour17,none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell fg=colour255,bg=colour1,bold
# messages
set -g message-style bold,fg=colour232,bg=colour16
#set -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment