Skip to content

Instantly share code, notes, and snippets.

@StenHigh
Last active May 29, 2019 14:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save StenHigh/5aa90bdc5f2fd937e0f2c7671f4963e5 to your computer and use it in GitHub Desktop.
# 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