diff --git a/.tmux.conf b/.tmux.conf index 4739600f77e1a4046c4876d874315b6d62ede3ec..a0019848bfbf3d2718f50ac4753dc18092b1b138 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,3 +1,7 @@ +unbind C-b +set -g prefix ` +bind ` send-prefix + set -g default-terminal "screen-256color" set-window-option -g automatic-rename on set-window-option -g mode-keys vi @@ -5,16 +9,6 @@ set-option -g set-titles on set-option -sg escape-time 10 set-option -g mouse off -if-shell "uname | grep -q Linux" { - set -g prefix M-x - bind M-x send-prefix -} - -if-shell "uname | grep -q Darwin" { - set -g prefix M-z - bind M-z send-prefix -} - set -g base-index 1 set-window-option -g pane-base-index 1 set -g renumber-windows on @@ -28,3 +22,8 @@ bind-key Down select-pane -D bind-key Left select-pane -L bind-key Right select-pane -R +bind-key -r S-Up resize-pane -U 5 +bind-key -r S-Down resize-pane -D 5 +bind-key -r S-Left resize-pane -L 5 +bind-key -r S-Right resize-pane -R 5 +