diff --git a/files/.tmux.conf b/files/.tmux.conf index 99903ff..a9e1e7a 100644 --- a/files/.tmux.conf +++ b/files/.tmux.conf @@ -1,6 +1,9 @@ # Set $TERM env set -g default-terminal "screen-256color" +# No escape delay, so that one can still use vim +set -sg escape-time 0 + # Set prefix to ^A unbind C-b set -g prefix C-a @@ -16,6 +19,13 @@ bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq v bind -n M-j select-window -p bind -n M-k select-window -n +# Resizing +## Resize panes through C-M-{hjkl} +bind -n C-M-h resize-pane -L +bind -n C-M-j resize-pane -D +bind -n C-M-k resize-pane -U +bind -n C-M-l resize-pane -R + # Splitting unbind % unbind '"'