Skip to content

Instantly share code, notes, and snippets.

@taylor
Created March 27, 2014 15:02
Show Gist options
  • Save taylor/9809517 to your computer and use it in GitHub Desktop.
Save taylor/9809517 to your computer and use it in GitHub Desktop.
tmate config with a different prefix to avoid tmux and a few sane defaults
## tmate
#set -g prefix C-a
set -g prefix C-]
bind-key ] send-prefix
# Use: C-b C-b to change to last window
#bind-key C-b last-window
bind-key C-] last-window
#####
set-window-option -g window-status-current-bg red
setw -g aggressive-resize on
set -g base-index 1
set -s escape-time 0
setw -g mode-keys vi
set -g history-limit 10000
setw -g monitor-activity on
set -g visual-activity on
bind z resize-pane -Z
set -g status-utf8 on
set -g set-titles-string "tmate.#I.#w"
set -g renumber-windows on
@taylor
Copy link
Author

taylor commented Mar 27, 2014

Using tmate with tmux

  1. Change the tmate prefix
  2. Run tmate
  3. Run tmux with TMUX= tmux ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment