Skip to content

Instantly share code, notes, and snippets.

@Vitsen15
Last active April 1, 2026 10:24
Show Gist options
  • Select an option

  • Save Vitsen15/58198324896e8564a6ade41042b1ddbb to your computer and use it in GitHub Desktop.

Select an option

Save Vitsen15/58198324896e8564a6ade41042b1ddbb to your computer and use it in GitHub Desktop.
tmux configuration.
set -g default-terminal "tmux-256color"
set -as terminal-overrides ",xterm-256color:Tc"
set -g mouse on # Mouse movement in copy mode
#Prefix
set -g prefix C-a
# Key bindings
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
unbind r
bind r source-file ~/.config/tmux/tmux.conf
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection
set-window-option -g mode-keys vi
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-cpu'
# Other plugins settings
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
# Indexes reset
set -g base-index 1
setw -g pane-base-index 1
set -g mouse on
# Omarchy Tmux integration
source-file ~/.config/omarchy/current/theme/tmux.conf
# End Omarchy Tmux integration
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment