#set-option -g default-shell /bin/zsh
set -g default-command /bin/zsh
set -g default-shell /bin/zsh

bind-key a set-window-option synchronize-panes
bind-key X kill-session

# vi mode keys
set-window-option -g mode-keys vi
setw -g mode-keys vi

# use CTRL+b instead of CTRL+a
set-option -g mouse off
set -g prefix C-a
unbind C-b
#panes start at 1, windows as well
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1

#movement in vim style
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

#resizing of windows in vim style
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5

#cycle through windows
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
