All tags
Start here · clipboardAdvanced tmux, a config that grows with you, formats, layouts and more9 steps · 52 min read · People who know the tmux basicsStart the guide clipboard
Narrow down
Guides1
Shell9
- Tip
cat config.yml | xsel -ibXsel -ib and xsel -ob move text between a Linux terminal and the clipboardCopy command output to the desktop clipboard and paste it back from the terminal.3 Dec 2026 - Tip
xclip -selection clipboard < ~/.ssh/id_ed25519.pubxclip puts command output on the Linux clipboardCopy a file or command output without selecting it with the mouse.1 Dec 2026 - Tip
uname -r | wl-copywl-copy is the clipboard command for a Wayland desktopPipe text to the clipboard and paste it back on Wayland.1 Dec 2026 - Tip
dir | clipPipe into clip to fill the Windows clipboard from the command lineSend output or a whole file to the clipboard without selecting.1 Dec 2026 - Tip
set -g copy-command 'pbcopy'set -g copy-command sends every tmux copy to your system clipboardPipes copied text to pbcopy, wl-copy or xclip automatically.30 Nov 2026 - Tip
tmux load-buffer ~/snippets/deploy.txttmux load-buffer puts a file's text in the tmux paste bufferLoads text from a file or a pipe so you can paste it anywhere.30 Nov 2026 - Tip
tmux save-buffer - | wc -ltmux save-buffer – writes your last tmux copy to stdoutWrites the newest tmux copy buffer to a file or to standard output.28 Nov 2026 - Tip
cat ~/.ssh/id_ed25519.pub | pbcopyPbcopy puts the output of any command on your Mac clipboardSends the output of a terminal command straight to the clipboard, so you can paste it anywhere.18 Nov 2026 - Tip
cat ~/.ssh/id_ed25519.pub | pbcopyPbcopy and pbpaste connect the terminal to your clipboardPipes terminal output to your clipboard and pastes clipboard text into commands.22 Aug 2026
Other tips2
- Tip
Alt+PrtScnAlt+PrtScn copies one window, Win+PrtScn saves a fileTwo Print Screen combinations: the active window to the clipboard, or the whole screen to a file.3 Dec 2026 - Tip
"+p paste from the clipboardYank to the plus register to copy from Vim to the system clipboardMove text from Vim to any other program with a register.1 Dec 2026
Mac2
- Tip
Command-4 show your clipboard historyCommand-4 in Spotlight searches everything you copied on your MacFind and paste something you copied earlier from the clipboard history in Spotlight.30 Nov 2026 - Tip
Command-C copy on the MacUniversal Clipboard lets you copy on your iPhone and paste on your MacCopy text or an image on your iPhone and paste it straight into your Mac.28 Nov 2026
Nothing matches.