A fast, useful, and beautiful Tmux configuration designed specifically for Arch Linux with full NerdFonts support and modern plugin management.
- Arch-specific packages: Automatic installation of
xclip,upower,networkmanager,lm_sensors - Proper directory structure: Uses
~/.config/tmux/following XDG standards - Systemd integration: Optional systemd user service for auto-start
- NerdFonts support: Full icon support throughout the interface
- Tokyo Night - Elegant dark theme with blue accents
- Catppuccin - Smooth mocha-flavored theme
- Dracula - Vibrant purple and pink theme
- Gruvbox - Classic high-contrast theme
- Nord - Clean Arctic-inspired theme
- Material - Google Material Design inspired
- One Dark - Atom-inspired dark theme
- Solarized - Eye-friendly dark theme
- Monokai - Vibrant and colorful theme
- Rose Pine - Natural pine and lilac theme
- Kanagawa - Traditional Japanese-inspired
- Everforest - Warm, nature-inspired theme
- Doom One - Doom Emacs inspired
- Carbonfox - Carbon-inspired dark theme
- Oxocarbon - IBM Carbon design system
- Melange - Warm and cozy dark theme
- Modus Vivendi - Accessible high-contrast theme
- Vim One - Enhanced One Dark theme
- Papercolor - Material Design inspired light theme
- TPM - Tmux Plugin Manager
- Resurrect - Auto-save/restore sessions
- Continuum - Auto-save every 15 minutes
- Yank - Enhanced copy/paste
- Fingers - URL and file detection
- URL View - Quick URL viewer
- Sessionist - Advanced session management
- Copycat - Enhanced search
- Battery - Battery status with NerdFonts icons
- CPU - CPU info in the status bar
- Prefix Highlight - Visual prefix indicator
- Online Status - Network connectivity indicator
- Fast startup: Configuration optimized for speed
- Lazy loading: Plugins load only when needed
- Escape time 0: Instant response
- Increased scrollback: 100,000 lines of history
- True color support: Full 24-bit color support
git clone https://github.com/your-user/TmuXpert.git
cd TmuXpertchmod +x install-tmux.sh
./install-tmux.sh# Install a NerdFont (example with JetBrains Mono)
yay -S nerd-fonts-jetbrains-mono
# Or install multiple NerdFonts
yay -S nerd-fonts-completetmux
# Then press: Ctrl+Space, then I| Action | Keybind |
|---|---|
| Prefix | Ctrl+Space |
| New window | prefix + c |
| Kill window | prefix + X |
| Switch window | Ctrl + number (1-9, 0 for 10) |
| Action | Keybind |
|---|---|
| Split horizontal | prefix + s |
| Split vertical | prefix + v |
| Kill pane | prefix + q |
| Toggle zoom | prefix + z |
| Switch pane | Ctrl + arrows |
| Resize pane | Ctrl + Shift + arrows |
| Action | Keybind |
|---|---|
| Save session | prefix + S |
| Restore session | prefix + R |
| Kill session | prefix + Ctrl+f |
| Switch session | prefix + Ctrl+s |
| Action | Keybind |
|---|---|
| Copy mode | prefix + [ |
| Search backward | prefix + / |
| Search forward | prefix + ? |
| Copy selection | Enter (in copy mode) |
| Action | Keybind |
|---|---|
| Fingers (URLs/files) | prefix + F |
| URL view | prefix + u |
| Theme switcher | ~/.config/tmux/scripts/theme-switcher.sh |
| Action | Keybind |
|---|---|
| Reload config | prefix + r |
| Synchronize panes | prefix + y |
~/.config/tmux/scripts/theme-switcher.sh~/.config/tmux/scripts/theme-switcher.sh tokyo-night
~/.config/tmux/scripts/theme-switcher.sh dracula
~/.config/tmux/scripts/theme-switcher.sh catppuccin~/.config/tmux/scripts/theme-switcher.sh list~/.config/tmux/scripts/theme-switcher.sh random~/.config/tmux/scripts/theme-switcher.sh currentThe status bar displays useful information with NerdFonts icons:
- Session name with Arch Linux icon ()
- Kernel version with CPU icon ()
- Current path with folder icon ()
- System load with CPU icon ()
- Network status with WiFi icon ()
- Disk usage with disk icon ()
- Battery status with battery icon ()
- Time with clock icon ()
- Date with calendar icon ()
Edit ~/.config/tmux/tmux.conf and add in the plugins section:
set -g @plugin 'your-plugin/name'Edit ~/.config/tmux/tmux.conf in the keybindings section:
bind -n C-yourkey your-actionUse the theme switcher or edit directly in ~/.config/tmux/tmux.conf:
set -g status-style "bg=#1a1b26,fg=#a9b1d6"# From inside tmux
prefix + I # Install plugins
prefix + r # Reload configurationtmux -V
ls ~/.config/tmux/plugins/# From inside tmux
prefix + I # View install logs# Check xclip
which xclip
# On macOS use pbcopy
# On Windows it may be limited# Check script
chmod +x ~/.config/tmux/scripts/theme-switcher.sh
# Apply manually
tmux set -g status-style "bg=#1a1b26,fg=#a9b1d6"# Check if NerdFonts are installed
fc-list | grep -i nerd
# Install NerdFonts
yay -S nerd-fonts-complete
# Configure terminal
export TERM="tmux-256color"~/.config/tmux/start.sh# View quick reference
cat ~/.config/tmux/quick-ref.md
# View battery status
~/.config/tmux/scripts/battery.sh
# Change theme
~/.config/tmux/scripts/theme-switcher.sh
# Enable auto-start (optional)
systemctl --user enable tmux.service~/.config/tmux/
├── plugins/ # TPM plugins
├── resurrect/ # Saved sessions
├── logs/ # Plugin logs
├── scripts/ # System info scripts
│ ├── battery.sh # Battery status
│ ├── sysinfo.sh # System load
│ ├── network.sh # Network status
│ ├── disk.sh # Disk usage
│ └── theme-switcher.sh # Theme manager
├── themes/ # Theme configurations
│ └── tmux-themes.conf
├── tmux.conf # Main configuration
├── start.sh # Startup script
└── quick-ref.md # Quick reference
The installation script automatically installs:
tmux- Terminal multiplexerxclip- Clipboard supportupower- Power managementnetworkmanager- Network statuslm_sensors- System monitoring
Optional systemd user service for auto-start:
# Enable auto-start
systemctl --user enable tmux.service
# Start the service
systemctl --user start tmux.serviceFull icon support throughout the interface:
- Status bar icons
- Battery icons
- Window indicators
- Theme-specific icons
- True color support
- Fast escape times
- Optimized plugin loading
- Increased scrollback buffer
- Cold start: ~0.5 seconds
- Plugin load: ~0.2 seconds
- Theme switch: ~0.1 seconds
- Base tmux: ~2MB
- With plugins: ~8MB
- With themes: ~10MB
Add to your shell profile (~/.bashrc, ~/.zshrc, etc.):
export TERM="tmux-256color"Configure your terminal to use a NerdFont:
- JetBrains Mono Nerd Font
- FiraCode Nerd Font
- Hack Nerd Font
- Source Code Pro Nerd Font
- Use
prefix + Sto save sessions - Use
prefix + Rto restore sessions - Sessions are automatically saved every 15 minutes
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- TPM - Tmux Plugin Manager
- NerdFonts - Icon fonts
- Arch Linux - The best Linux distribution
- All the amazing tmux plugin developers
Happy coding with Tmux on Arch Linux! 🚀