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: https://github.com/jimeh/tmux-themepack | |
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