Last active
June 27, 2018 15:20
-
-
Save VonHeikemen/c6838fb0a7aafcff6254bd94445dca8f to your computer and use it in GitHub Desktop.
almost easy tmux config
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
# increase scroll-back history | |
set -g history-limit 5000 | |
# Alt + c enters copy mode | |
bind-key -n M-c copy-mode | |
# Alt + arrows to navigate between panes | |
bind-key -n M-Up select-pane -U | |
bind-key -n M-Down select-pane -D | |
bind-key -n M-Left select-pane -L | |
bind-key -n M-Right select-pane -R | |
# Shift + arrows to navigate between windows | |
bind-key -n S-Left previous-window | |
bind-key -n S-Right next-window | |
# Split windows | |
bind-key -n M-+ split-window | |
bind-key -n M-= split-window -h | |
# Alt + [ to turn on mouse mode | |
bind-key -n M-[ set -g mouse on | |
# Alt + ] to Turn off mouse mode | |
bind-key -n M-] set -g mouse off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment