Last active
May 29, 2019 14:55
Star
You must be signed in to star a gist
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
# Vim-like key bindings for pane navigation (default uses cursor keys). | |
unbind h | |
bind h select-pane -L | |
unbind j | |
bind j select-pane -D | |
unbind k | |
bind k select-pane -U | |
unbind l # normally used for last-window | |
bind l select-pane -R | |
# Status bar. | |
set -g status-bg '#343d46' | |
set -g status-fg white | |
set -g status-left-length 40 | |
set -g status-left '#[fg=yellow]#S ⧉ ' | |
set -g status-right "#[fg=yellow]$USER@#h #[fg=magenta]%l:%M %p" | |
set -g status-interval 60 # Default is 15. | |
# Automatically renumber window numbers on closing a pane (tmux >= 1.7). | |
set -g renumber-windows on | |
# Highlight active window. | |
set -w -g window-status-current-bg red | |
# Mouse can be used to select panes, select windows (by clicking on the status | |
# bar), resize panes. For default bindings see `tmux list-keys` and `tmux | |
# list-keys -t vi-copy`. | |
set -g mouse on | |
# Dynamically update iTerm tab and window titles. | |
set -g set-titles on | |
# Show bells in window titles. | |
set -g window-status-bell-style fg=yellow,bold,underscore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment