tmux

tutorial cheatsheet

configs

edit file ~/.tmux.conf as you like

-> gpakosz github

keyboard shortcuts

Ctrl + b ? - show keyboard shortcut overview

pane

windows

modes

CTRL+b then [ Enter copy mode. q Exit copy mode. SPACE Start text selection in copy mode. ENTER Copy the selected text. ESC Clear the selected text and exit the copy mode. CTRL+b then ] Paste the copied text. h Move the cursor left. j Move the cursor down. k Move the cursor up. l Move the cursor right. w Move the cursor one word forward. b Move the cursor one word backward. CTRL+u Scroll up half a page. CTRL+d Scroll down half a page. PgUp Scroll up full page. PgDn Scroll down full page.

configs

adaption for zsh powershell10k

Your tmux has two issues.

It cannot display 256 colors. To fix this, create ~/.tmux.conf with set -g default-terminal screen-256color in it and reboot your machine.

It cannot display non-ascii characters. To fix this, install and enable a UTF-8 locale in your OS and reboot your machine.

You can verify that you've fixed tmux by running the following command:

print -P -- '--> %F{70}\u276E\u276F%f <--'

Created 2025-02-17 14:26:03 UTC by Daniel Raab
Updated 2025-07-16 11:03:54 UTC by Daniel Raab