[tmux] allow pane resize with mouse

This commit is contained in:
Mathieu Maret 2013-02-25 17:15:03 +01:00 committed by Mathieu Maret
parent 22e8558eb2
commit 97f01a222b

View File

@ -16,8 +16,8 @@ bind v split-window -h
# move around panes with j and k, a bit like vim # move around panes with j and k, a bit like vim
# as of tmux 1.1, there is no way to move based on pane position (ie, no way to # as of tmux 1.1, there is no way to move based on pane position (ie, no way to
# move the pane to the right) # move the pane to the right)
bind j down-pane #bind j down-pane
bind k up-pane #bind k up-pane
# resize panes like vim # resize panes like vim
# feel free to change the "1" to however many lines you want to resize by, only # feel free to change the "1" to however many lines you want to resize by, only
@ -41,6 +41,7 @@ setw -g mode-keys vi
# set-option -g default-terminal "screen-256color" # set-option -g default-terminal "screen-256color"
set-option -g mouse-select-pane on set-option -g mouse-select-pane on
set-option -g mouse-resize-pane on
set-option -g status-keys vi set-option -g status-keys vi
set-option -g bell-action any set-option -g bell-action any
set-option -g set-titles on set-option -g set-titles on