Skip to content

Instantly share code, notes, and snippets.

View Muminur's full-sized avatar

Md. Muminur Rahman Muminur

View GitHub Profile
@Muminur
Muminur / tmux-yank-setup.sh
Created February 15, 2026 10:46
One-liner tmux-yank setup for Ubuntu — copies tmux text to system clipboard (Ctrl+V in browser)
#!/usr/bin/env bash
# tmux-yank one-liner setup for Ubuntu
# Installs TPM + tmux-yank + xclip, configures clipboard yanking
# Usage: bash <(curl -sL https://gist.githubusercontent.com/YOUR_USER/RAW_URL/tmux-yank-setup.sh)
# After running: reload tmux with `tmux source-file ~/.tmux.conf` then `prefix + I` to install plugins
#
# Copy modes:
# Mouse: select text with drag → press y → Ctrl+V in browser
# Keyboard: prefix+[ → Space to start → select → y to yank → Ctrl+V in browser