Created
April 27, 2017 18:46
-
-
Save liorrozen/64151e2d68155cc065a6cf684f805e03 to your computer and use it in GitHub Desktop.
minimal 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
# Escape time | |
set -sg escape-time 0 | |
# Large history | |
set-option -g history-limit 10000 | |
# Leave messages on screen for 4 seconds | |
set-option -g display-time 4000 | |
# Copy mode colors | |
setw -g mode-bg yellow | |
setw -g mode-fg black | |
# Terminal | |
set-option -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color" | |
# Vim stuff | |
set-window-option -g xterm-keys on | |
set-window-option -g mode-keys vi | |
set-option -g status-keys vi | |
# Start window numbering at 1 | |
set -g base-index 1 | |
# Current window indication | |
set-window-option -g window-status-current-bg red | |
# Use bind key and vim motion to move between panes | |
bind-key h select-pane -L | |
bind-key j select-pane -D | |
bind-key k select-pane -U | |
bind-key l select-pane -R | |
# Toggle last window | |
bind-key l last-window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment