Skip to content

Instantly share code, notes, and snippets.

@erich
Created August 6, 2017 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erich/fabfb18ee72a575cf395a2354b3c85a5 to your computer and use it in GitHub Desktop.
Save erich/fabfb18ee72a575cf395a2354b3c85a5 to your computer and use it in GitHub Desktop.
set -g base-index 1
set-window-option -g pane-base-index 1
set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Improve colors
set -g default-terminal 'screen-256color'
# theme
set -g status-bg black
set -g status-fg white
set -g status-left-length 30
set -g status-right-length 60
set -g status-left '#[fg=green]#H#[default]'
setw -g window-status-format '#[fg=colour135]#I #[fg=white]#W#[default] '
setw -g window-status-current-format '#[bg=white,fg=black] #W #[bg=black,fg=white]'
#without delay
set -s escape-time 1
#remove hostname
set -g status-left ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment