Skip to content

Instantly share code, notes, and snippets.

@thadeu
Last active September 18, 2025 21:07
Show Gist options
  • Save thadeu/60be70e8aaf6d53c5d0aa4eea887dc28 to your computer and use it in GitHub Desktop.
Save thadeu/60be70e8aaf6d53c5d0aa4eea887dc28 to your computer and use it in GitHub Desktop.
Tmux Basic Configuration to EC2
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
set -g xterm-keys on
set -g default-terminal "tmux-256color"
set -g escape-time 0
# don't do anything when a 'bell' rings
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# clock mode
setw -g clock-mode-colour yellow
# copy mode
setw -g mode-style 'fg=black bg=red bold'
# panes
set -g pane-border-style 'fg=red'
set -g pane-active-border-style 'fg=yellow'
bind h split-window -h "fish"
bind v split-window -v "fish"
bind w kill-pane
bind f display-popup -w 60% -h 60%
bind r source-file ~/.tmux.conf; display "Reloaded!"
unbind '"'
unbind %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment