# Make the prefix easier to type, like 
# pretty much everybody on the fucking planet.
unbind C-b
set -g prefix C-a
bind C-a send-prefix

# Start at 1, so you don't have to reach to that 0 on the right of the keyboard so often.
set -g base-index 1
# Renumber windows when a window is closed
# This guarantees it will be easier for you to switch
# between windows as you keep opening and closing them
set -g renumber-windows on

# Automatically set window title according to the running program
set-window-option -g automatic-rename on
set-option -g set-titles on

# Thyme integration
#set-option -g status-right '#(cat ~/.thyme-tmux)'
#set-option -g status-interval 1

# Default to fish
set -g default-command "fish"

set -g default-terminal "xterm"

set -s escape-time 0

bind - split-window -v
bind | split-window -h

# Workaround to allow accessing OSX pasteboard
# set-option -g default-command "reattach-to-user-namespace -l zsh"

# Vi copypaste
# setw -g mode-keys vi
# unbind p
# bind p paste-buffer
# bind-key -T copy-mode-vi v send-keys -X begin-selection
# bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
