Overview
This tmux configuration features the Catppuccin Mocha theme with transparent backgrounds, VI keybindings, and powerful plugins for session management, floating windows, and fuzzy finding.Configuration Structure
The configuration merges multiple concerns into a single file:- opts.conf - General tmux options
- keybinds.conf - Key bindings
- skin.conf - Catppuccin theme settings
- plugins.conf - Plugin declarations and configuration
~/.config/tmux/tmux.conf
General Options
Terminal Settings
$TERM value.
Base Settings
Input and Interaction
Border Colors
Key Bindings
Prefix Key
Ctrl+Space (instead of default Ctrl+b)
Copy Mode (VI)
| Key | Action |
|---|---|
v | Begin selection |
Ctrl+V | Toggle rectangular selection |
y | Copy and exit copy mode |
Window Splitting
| Key | Action |
|---|---|
Prefix + " | Split horizontally |
Prefix + % | Split vertically |
Essential Commands
| Key | Action |
|---|---|
Prefix + c | New window |
Prefix + , | Rename window |
Prefix + & | Kill window |
Prefix + x | Kill pane |
Prefix + d | Detach session |
Prefix + [ | Enter copy mode |
Prefix + ] | Paste buffer |
Plugins
Core Plugins
Vim-Tmux Navigator
Seamless navigation between vim and tmux panes:| Key | Action |
|---|---|
Ctrl+H | Move left |
Ctrl+J | Move down |
Ctrl+K | Move up |
Ctrl+L | Move right |
SessionX
Powerful session manager with zoxide integration:Prefix + o
Features:
- Fuzzy find sessions
- Create new sessions from zoxide directories
- Preview session contents
- Switch or create sessions instantly
Floax
Floating terminal windows:Prefix + p
Opens a floating terminal window (80% of screen size).
FZF Integrations
- tmux-fzf
- tmux-fzf-url
Prefix + F (default)Battery Indicator
Catppuccin Theme
Theme Configuration
Window Status Format
- Default windows show window name
- Current window shows current directory path
Status Modules
[session] ... [host] ... [app] [time] [battery]
Status Separators
Custom Modules
Transparent Background
Extra Spacing
Plugin Installation
First-Time Setup
- Install TPM (Tmux Plugin Manager):
- Reload tmux config:
- Install plugins:
Prefix + I (capital I)
Managing Plugins
| Key | Action |
|---|---|
Prefix + I | Install new plugins |
Prefix + U | Update plugins |
Prefix + alt + u | Uninstall removed plugins |
Local Configuration
Custom settings without modifying the main config:~/.config/tmux/tmux.local.conf for machine-specific overrides.
Example:
Usage Tips
Creating Sessions
Attaching to Sessions
Using SessionX
- Press
Prefix + o - Fuzzy search sessions or directories
- Press
Enterto switch orCtrl+Xto create new
Floating Terminal (Floax)
- Press
Prefix + p - A floating window opens
- Press
Prefix + pagain to toggle
FAQ
Plugins not loading?
Plugins not loading?
Ensure TPM is installed:If missing:Then reload and install:
Prefix + IColors look wrong?
Colors look wrong?
Check terminal Should be
$TERM value:xterm-256color or similar. Set in your shell profile:How do I reload config?
How do I reload config?
Inside tmux:Or from shell:
Mouse not working?
Mouse not working?
Ensure mouse mode is enabled:Reload config:
Prefix + :source ~/.config/tmux/tmux.confHow do I customize the status bar?
How do I customize the status bar?
Configuration Location
Related Configuration
- See Neovim for editor integration
- See Fish Shell for shell configuration
- See Kitty for terminal settings