Last active
April 1, 2026 10:24
-
-
Save Vitsen15/58198324896e8564a6ade41042b1ddbb to your computer and use it in GitHub Desktop.
tmux configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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