tmux
links
configs
edit file ~/.tmux.conf as you like
check:
- -> gpakosz github
Ctrl+b "— split pane horizontally.Ctrl+b %— split pane vertically.Ctrl+b arrow key— switch pane.- Hold
Ctrl+b, don’t release it and hold one of thearrow keys— resize pane. Ctrl+b c— (c)reate a new window.Ctrl+b w— List all windows.Ctrl+b n— move to the (n)ext window.Ctrl+b p— move to the (p)revious window.
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 <--'