npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

@zesbe/tmux-config

v1.0.0

Published

πŸš€ Tmux configuration with mouse scrolling and touch screen support optimized for Termux and VPS

Readme

@zesbe/tmux-config

npm version License: MIT

πŸš€ 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-setup

This will show you options to:

  1. Install local/Termux configuration
  2. Install VPS configuration
  3. Install both
  4. 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.conf

Deploy 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 + A

Window Management

  • Prefix + c - New window
  • Prefix + | - Split horizontal
  • Prefix + - - Split vertical
  • Prefix + 1-9 - Switch to window

Pane Navigation

  • Prefix + h/j/k/l - Move between panes
  • Alt + Arrow - Quick pane switch
  • Click - Select pane with mouse

Copy Mode

  • Prefix + [ - Enter copy mode
  • v - Start selection
  • y - Copy selection
  • Prefix + ] - Paste

Session Management

  • Prefix + d - Detach from session
  • tmux ls - List sessions
  • tmux attach - Reattach to session
  • tm - 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?

  1. Make sure set -g mouse on is in your config
  2. Check your terminal supports mouse
  3. Try reloading: tmux source-file ~/.tmux.conf

Scrolling issues?

  1. For SSH: Use tmux-vps.conf
  2. Check terminal type: echo $TERM
  3. Set: export TERM=xterm-256color

Copy/paste not working?

  1. Enter copy mode: Prefix + [
  2. Select with mouse or v
  3. Copy with y
  4. Paste with Prefix + ]

🀝 Contributing

  1. Fork this repo
  2. Create feature branch
  3. Make changes
  4. Test thoroughly
  5. Submit PR

πŸ“„ License

MIT Β© Zesbe

πŸ”— Links


Made with ❀️ for terminal lovers everywhere!