unbind C-b
set-option -g prefix `
bind-key ` send-prefix
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind r source-file ~/.tmux.conf
# switch windows alt+number
bind-key -n M-0 select-window -t 0
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
set -g base-index 1
setw -g pane-base-index 1
set-option -g status-position top
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg black
set-window-option -g window-status-bg black
set-window-option -g window-status-fg white
set-window-option -g status-bg black
set-window-option -g status-fg white