Last active
April 13, 2016 10:13
-
-
Save tonygaetani/7b937f48e46d287b6691 to your computer and use it in GitHub Desktop.
Basic tmux conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# increased buffer size | |
set-option -g history-limit 5000 | |
# shell | |
SHELL=bash | |
set-option -g default-shell /bin/$SHELL | |
# no delay for escape key press | |
set -sg escape-time 0 | |
# key customization and bindings | |
set -g mode-keys vi | |
set -g status-keys vi | |
setw -g mode-mouse on | |
setw -g monitor-activity on | |
# vim style pane splits | |
bind-key V split-window -h | |
bind-key S split-window -v | |
# vim keys for pane rezising | |
bind-key J resize-pane -D 5 | |
bind-key K resize-pane -U 5 | |
bind-key H resize-pane -L 5 | |
bind-key L resize-pane -R 5 | |
# vim style pane selection | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# vim style copy | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection | |
# vim style page up and down | |
bind-key -t vi-edit Up history-up | |
bind-key -t vi-edit Down history-down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment