Skip to content

Instantly share code, notes, and snippets.

@igavrilov
Last active February 4, 2020 09:28
Show Gist options
  • Save igavrilov/e450df17ea95cf2b4bd7 to your computer and use it in GitHub Desktop.
Save igavrilov/e450df17ea95cf2b4bd7 to your computer and use it in GitHub Desktop.
set-option -g default-command "reattach-to-user-namespace -l zsh"
# splitting panes
# START:panesplit
bind | split-window -h
bind - split-window -v
# END:panesplit
# moving between panes
# START:paneselect
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# END:paneselect
bind Left resize-pane -L 5
bind Down resize-pane -D 5
bind Up resize-pane -U 5
bind Right resize-pane -R 5
bind < swap-window -t -1
bind > swap-window -t +1
# Set the default terminal mode to 256color mode
# START:termcolor
set -g default-terminal "screen-256color"
# END:termcolor
# Status line right side
# 15% | 28 Nov 18:15
# START: statusright
set -g status-right "#[fg=cyan]%d %b %R"
# END:statusright
# Update the status bar every sixty seconds
# START:updateinterval
set -g status-interval 60
# END:updateinterval
# enable vi keys.
# START:vikeys
setw -g mode-keys vi
# END:vikeys
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour130 #yellow
# pane number display
set-option -g display-panes-active-colour colour20 #blue
set-option -g display-panes-colour colour196 #orange
# clock
set-window-option -g clock-mode-colour colour40 #green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment