# turn off esc-wait so that vi works correctly
-set-option -sg escape-time 0
+set-option -sg escape-time 0
# use control-K as the prefix
set -g prefix C-k
set-option -g visual-activity off
set-window-option -g monitor-activity off
+# moving between panes with vim movement
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# moving between windows with vim movement
+bind -r C-h select-window -t :-
+bind -r C-l select-window -t :+
+
+# resize panes with vim movement keys
+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