# remap prefix
set-option -g prefix C-Space
unbind C-Space
bind-key C-Space send-prefix

set -g mouse on

set -g base-index 1
setw -g pane-base-index 1

set -g renumber-windows on

# split panes
bind / split-window -hc "#{pane_current_path}"
bind - split-window -vc "#{pane_current_path}"

bind c new-window

bind -r "<" swap-window -d -t -1
bind -r ">" swap-window -d -t +1

bind r source-file ~/.tmux.conf

bind -n C-h select-pane -L
bind -n C-j select-pane -D
bind -n C-k select-pane -U
bind -n C-l select-pane -R
