Skip to content

Instantly share code, notes, and snippets.

@ftc2
Created September 12, 2017 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ftc2/a86623247b7739bd003fbdcaf225c411 to your computer and use it in GitHub Desktop.
Save ftc2/a86623247b7739bd003fbdcaf225c411 to your computer and use it in GitHub Desktop.
# GNU-Screen compatible prefix
set-option -g prefix C-a
bind-key C-a last-window
bind-key C-d detach -P
# color
set -g default-terminal "tmux-256color"
# Start window numbering at 1
set -g base-index 1
# make pane numbering consistent with windows
setw -g pane-base-index 1
# renumber windows when a window is closed
set-option -g renumber-windows on
# auto window rename
set-window-option -g automatic-rename
# Allows for faster key repetition
set -s escape-time 0
# Activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# set window split
bind-key v split-window -h
bind-key b split-window
# toggle status line
bind-key q set-option status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment