tmux: resize panes with C-M-{hjkl}

This commit is contained in:
Théophile Bastian 2017-05-22 13:20:54 +02:00
parent 51863e52fd
commit 26b0fac7ba
1 changed files with 10 additions and 0 deletions

View File

@ -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 '"'