# use this file as ~/.tmux.conf
# vi: ft=tmux
set -g default-terminal "screen-256color"
set-option -g prefix C-a
unbind-key C-b
bind-key C-a last-window
bind-key -n C-b send-prefix
set -ag terminal-overrides ",*:XT@:Tc"
set-option -g default-shell /bin/bash

set -sg escape-time 0
set-window-option -g mode-keys vi

# set pane navigation to vim style bindings
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g mouse on

# set new panes to open in current directory since I can't ever remember to open tmux in the right directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
