Compare commits

...

1 commit

Author SHA1 Message Date
26b0fac7ba tmux: resize panes with C-M-{hjkl} 2017-05-22 13:37:18 +02:00

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