Skip to content

Instantly share code, notes, and snippets.

Created July 13, 2019 06:03
  • 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
What would you like to do?
My tmux config
# Rebind prefix to Ctrl-A
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Bind "r" for reloading configuration
bind r source-file ~/.tmux.conf \; display "Configuration reloaded!"
# Bind "|" for splitting the current window vertically, and "-" for horizontally
unbind %
bind | split-window -h
bind - split-window -v
# Display things in 256 colors
set -g default-terminal "screen-256color"
# Bind "M" for enabling mouse support
bind M \
set-option -g mouse on \;\
display 'Mouse: ON'
# Bind "m" for disabling mouse support
bind m \
set-option -g mouse off \;\
display 'Mouse: OFF'
# Note: hold shift key to select the text using mouse
# Set history size
set -g history-limit 10000
# Renumber windows sequentially after closing
set -g renumber-windows on
# Enable window notifications; display activity on other window
setw -g monitor-activity on
set -g visual-activity on
# Set theme
# From:
source-file "${HOME}/.tmux-themepack/powerline/block/cyan.tmuxtheme"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment