@zesbe/tmux-termux
v1.0.0
Published
๐ค Tmux configuration optimized for Termux on Android with mouse scrolling support
Maintainers
Readme
@zesbe/tmux-termux
๐ค Tmux configuration optimized for Termux on Android
โจ Features
- ๐ฑ Touch Screen Friendly - Perfect for mobile devices
- ๐ฑ๏ธ Mouse Scrolling - Scroll with mouse wheel or swipe
- โก Optimized for Termux - Special settings for Android
- ๐ฏ Simple Setup - One command installation
- ๐ Useful Aliases - Pre-configured shortcuts
๐ Quick Install
# Install via npm
npm install -g @zesbe/tmux-termux
# Or via pkg (Termux)
pkg install @zesbe/tmux-termux
# Run configuration
tmux-termux๐ Usage
After installation:
# Start tmux with the new config
tmux
# Or use the alias
tm
# List sessions
tl
# Attach to session
ta session_name๐ฎ Controls
Mouse/Touch
- Scroll - Mouse wheel or swipe gesture
- Click - Position cursor
- Drag - Select text
- Copy - After selection, use system copy
Keyboard Shortcuts
Prefix + c- New windowPrefix + |- Split horizontalPrefix + -- Split verticalPrefix + d- Detach session
Default Prefix: Ctrl + A
๐ฑ Termux Specific
The configuration includes:
- Terminal override for Android
- Mouse support optimization
- Touch-friendly copy mode
- Performance tweaks for mobile
๐ง Requirements
- Termux app
- Node.js (for npm install)
- tmux package
# Install tmux if not installed
pkg update
pkg install tmux๐ Configuration Location
Config file: ~/.tmux.conf
Backup: ~/.tmux.conf.backup.TIMESTAMP
๐ Troubleshooting
Scroll not working?
- Restart tmux:
tmux kill-server && tmux - Check config:
cat ~/.tmux.conf - Ensure mouse is enabled:
tmux show -g mouse
Can't copy/paste?
- Enter copy mode:
Prefix + [ - Select text with touch/mouse
- Copy with
yor system copy
๐ Tips
- Use external keyboard for better productivity
- Bluetooth mouse works great with Termux
- Split screen for multitasking
- Use sessions to organize work
๐ Links
๐ License
MIT ยฉ Zesbe
Made with โค๏ธ for Termux users! ๐ค
