@zesbe/tmux-config
v1.0.0
Published
π Tmux configuration with mouse scrolling and touch screen support optimized for Termux and VPS
Maintainers
Readme
@zesbe/tmux-config
π Tmux configuration with mouse scrolling and touch screen support optimized for Termux and VPS
β¨ Features
- π±οΈ Mouse Scrolling - Smooth scrolling with mouse wheel
- π± Touch Screen Support - Optimized for Android/Touch devices
- π SSH/VPS Ready - Perfect for remote servers
- βοΈ Easy Copy/Paste - Click and drag to select
- π¨ Clean Status Bar - Informative and minimal
- β‘ Performance - Fast and responsive
π Quick Install
# Install globally
npm install -g @zesbe/tmux-config
# Run setup
tmux-setupπ Usage
Interactive Setup
tmux-setupThis will show you options to:
- Install local/Termux configuration
- Install VPS configuration
- Install both
- Deploy to VPS
Manual Installation
# For local/Termux
cp node_modules/@zesbe/tmux-config/config/tmux.conf ~/.tmux.conf
# For VPS
cp node_modules/@zesbe/tmux-config/config/tmux-vps.conf ~/.tmux.confDeploy to VPS
# Interactive deployment
tmux-setup --deploy
# Or manually
scp node_modules/@zesbe/tmux-config/config/tmux-vps.conf user@vps:~/.tmux.confπ― Configuration Types
1. Local/Termux (tmux.conf)
- Optimized for local terminal usage
- Enhanced mouse support
- Copy/paste with clipboard
- Better scrolling performance
2. VPS/SSH (tmux-vps.conf)
- Touch screen friendly
- SSH connection stability
- Lightweight configuration
- Terminal overrides for remote sessions
β¨οΈ Keyboard Shortcuts
Prefix (default): Ctrl + AWindow Management
Prefix + c- New windowPrefix + |- Split horizontalPrefix + -- Split verticalPrefix + 1-9- Switch to window
Pane Navigation
Prefix + h/j/k/l- Move between panesAlt + Arrow- Quick pane switch- Click - Select pane with mouse
Copy Mode
Prefix + [- Enter copy modev- Start selectiony- Copy selectionPrefix + ]- Paste
Session Management
Prefix + d- Detach from sessiontmux ls- List sessionstmux attach- Reattach to sessiontm- Quick start (alias added)
π±οΈ Mouse/Touch Controls
- Scroll - Mouse wheel or swipe
- Click - Position cursor
- Drag - Select text
- Right Click - Context menu
- Double Click - Select word
- Triple Click - Select line
π± On Android/Termux
# Install dependencies
pkg install tmux
# Install config
npm install -g @zesbe/tmux-config
tmux-setup
# Start tmux
tmuxπ₯οΈ On Linux/macOS
# Ubuntu/Debian
sudo apt install tmux
# macOS
brew install tmux
# Install config
npm install -g @zesbe/tmux-config
tmux-setupπ§ Customization
Add to your ~/.tmux.conf.local:
# Custom status bar
set -g status-bg colour236
set -g status-fg white
# Custom bindings
bind-key -n C-t new-windowπ Troubleshooting
Mouse not working?
- Make sure
set -g mouse onis in your config - Check your terminal supports mouse
- Try reloading:
tmux source-file ~/.tmux.conf
Scrolling issues?
- For SSH: Use
tmux-vps.conf - Check terminal type:
echo $TERM - Set:
export TERM=xterm-256color
Copy/paste not working?
- Enter copy mode:
Prefix + [ - Select with mouse or
v - Copy with
y - Paste with
Prefix + ]
π€ Contributing
- Fork this repo
- Create feature branch
- Make changes
- Test thoroughly
- Submit PR
π License
MIT Β© Zesbe
π Links
Made with β€οΈ for terminal lovers everywhere!
