Make tmux pane resizing more natural

This commit is contained in:
Ian Ker-Seymer 2014-08-24 19:54:49 -06:00
parent a44361860f
commit 54c3062b11

View File

@ -15,10 +15,10 @@ bind-key ^S split-window
# Pane resize in all four directions using vi bindings.
# Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.
bind-key J resize-pane -D
bind-key K resize-pane -U
bind-key H resize-pane -L
bind-key L resize-pane -R
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
# Use vi keybindings for tmux commandline input.
# Note that to get command mode you need to hit ESC twice...