Create tmux.conf

This commit is contained in:
2015-09-29 16:55:26 -04:00
parent dd07771b62
commit e4dc223245

37
.tmux.conf Normal file
View File

@@ -0,0 +1,37 @@
#configure mouse
setw -g mouse-mode on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
set -g mode-keys vi
set -g history-limit 10000
# y and p
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
bind -t vi-copy 'Space' halfpage-down
bind -t vi-copy 'Bspace' halfpage-up
# vim move keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-k select-window -t :-
bind -r C-j select-window -t :+
# resize
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
unbind %
unbind "
bind v split-window -h
bind b split-window -v