Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2016 04:54
Show Gist options
  • Save anonymous/b407393fd5973aee468cfc22a8c7b104 to your computer and use it in GitHub Desktop.
Save anonymous/b407393fd5973aee468cfc22a8c7b104 to your computer and use it in GitHub Desktop.
set -g default-terminal "screen-256color"
# change prefix command to C-z
set -g prefix C-z
unbind C-b
bind C-z last-window
bind z send-prefix
# setup | and - for window splitting
unbind %
bind | split-window -h
bind - split-window -v
# colors
set -g default-terminal "screen-256color"
# title
set -g set-titles on
set -g set-titles-string '#T'
#set -g status-justify centre
# start window numbering at 1 for easier switching
set -g base-index 1
setw -g pane-base-index 1
# unicode
setw -g utf8 on
set -g status-utf8 on
# start numbering at 1
set -g base-index 1
# default statusbar colors
set-option -g status-bg colour0
set-option -g status-fg colour7
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg colour6
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
set-window-option -g automatic-rename on
# active window title colors
setw -g window-status-current-format "|#I:#W|"
set-window-option -g window-status-current-fg colour4
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg colour235 #base02
set-option -g pane-active-border-fg colour240 #base01
new -s jess -n irssi "docker run --rm -it --read-only -v $HOME/.irssi:/home/user/.irssi -v /etc/localtime:/etc/localtime:ro irssi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment