Public edition“All the posts worth keeping”Collected & filed
All the posts worth keeping

Omarchy + tmux + Herdr: daily keyboard practice

For Omarchy on Apple Silicon Macs. Every binding below comes from a config file.

Mental model

Layer Keys How to press
Desktop (Hyprland windows and workspaces) Super = ⌘ Command + key Hold it down. No prefix. Arrow keys move focus.
tmux prefix Ctrl+Space Press it, let go, then press the key.
tmux panes Ctrl+Alt+arrows (Alt = ⌥ Option) Direct, no prefix. Add Shift to resize.
tmux windows and sessions Alt+←/→, Alt+1–9, Alt+↑/↓ Direct. ←/→ moves between windows, ↑/↓ between sessions.
Herdr Same prefix (Ctrl+Space) and the same chords Herdr tab = tmux window. Herdr workspace = tmux session.

How to read the tables: each tool section names its leader once, in the box on the right. Rows list only the keys you press after the leader. A row tagged no Super, no prefix or copy mode is pressed exactly as written, without the leader.

Stuck? Super+K lists all desktop keys. Super+Alt+K lists tmux keys. Super+Ctrl+K lists Herdr keys. Inside tmux or Herdr, press Ctrl+Space then ?.


1. Desktop (Hyprland / Omarchy)

Launch and menus

Keys Action
Return Terminal
Alt+Return Terminal running tmux
Ctrl+Return Terminal running Herdr
Space Omarchy menu
Alt+Space Apps launcher
Escape System menu (lock, suspend, restart, shut down)
K Keybindings help
Shift+Return / Shift+B Browser (Shift+Alt+B = private window)
Shift+F File manager
Shift+N Editor
Shift+/ Passwords (1Password)
Ctrl+E Emoji picker
Ctrl+T Activity monitor (btop)

Windows

Keys Action
←/→/↑/↓ Focus the window in that direction
Shift+arrows Swap the window in that direction
W (or Q) Close window
F Fullscreen
Alt+F Full width (maximize)
Ctrl+F Tiled fullscreen
T Toggle floating/tiled
O Pop out (float and pin)
J Toggle split direction
P Pseudo-tile
L Cycle workspace layout (dwindle → floating → scrolling)
− / = Width −100 / +100 px
Shift+− / Shift+= Height −100 / +100 px
add Alt / Ctrl to the resize keys Fine steps (25 px) / big steps (300 px)
drag with left or right mouse button Move / resize the window
Alt+Tab / Alt+Shift+Tab no Super Next / previous window
Ctrl+Alt+Delete no Super ⚠️ Close all windows

Resize keys are Hyprland key codes, checked against xkb evdev: code:20 = minus, code:21 = equals.

Workspaces and scratchpad

Keys Action
1…0 Go to workspace 1–10
Shift+1…0 Move the window to workspace N and follow it
Shift+Alt+1…0 Move the window to workspace N and stay here
Tab / Shift+Tab Next / previous workspace
Ctrl+Tab Back to the previous workspace
S or ` Toggle the scratchpad
Alt+S or Shift+` Send the window to the scratchpad

Groups (tabbed windows)

Keys Action
G Toggle a group
Alt+arrows Move the window into the group in that direction
Alt+G Move the window out of its group
Alt+Tab / Alt+Shift+Tab Next / previous window in the group
Ctrl+← / → Previous / next window in the group
Alt+1…5 Jump to group window N

Monitors

Keys Action
Shift+Alt+arrows Move the workspace to the monitor in that direction
Shift+Ctrl+arrows Move the window to the monitor in that direction (upstream only)
/ and Alt+/ Monitor scaling up / down
Ctrl+Alt+Tab / Ctrl+Alt+Shift+Tab no Super Focus the next / previous monitor

Clipboard and screenshots

Keys Action
C / V / X Copy / paste / cut. Works in terminals too.
A Select all (upstream only)
Ctrl+V Clipboard history
Shift+S Screenshot (upstream only; on omarchy-mac this key opens Google Maps)
F11 or 🔉 (Volume Down) Screenshot of a region (omarchy-mac)
F10 or 🔇 (Mute) Screenshot of a window (omarchy-mac)
F12 or 🔊 (Volume Up) Screenshot of the whole display (omarchy-mac)
Alt+F12 or Alt+🔊 Screen recording on/off (omarchy-mac)
Ctrl+C Capture menu
Ctrl+Print Text from a screenshot (OCR). Needs a Print key, which Apple keyboards don't have.

System

Keys Action
Ctrl+L Lock the screen
, and Shift+, Dismiss the last notification / all notifications
Alt+, Open the last notification
Ctrl+, Silence notifications on/off
Shift+Space Top bar on/off
Shift+Ctrl+Space / Ctrl+Space Theme menu / background switcher
Ctrl+A / B / W / D Audio / Bluetooth / network / display panels
Ctrl+I / Ctrl+N Idle lock on/off / night light on/off
Ctrl+X Dictation on/off (only works when a dictation backend is installed)

2. tmux

Unmarked keys come from Omarchy's stock tmux config and are also in custom dotfiles. [gw] = custom dotfiles extra. [def] = built into tmux; neither config changes it.

Panes

Keys Action
Ctrl+Alt+arrows no prefix Focus the pane in that direction
Alt+h/j/k/l no prefix [gw] Focus the pane left/down/up/right. Works across Neovim splits too (vim-tmux-navigator).
Ctrl+Alt+Shift+arrows no prefix Resize the pane by 5
h, or Alt+Return no prefix Split: new pane below
v, or Alt+Shift+Return no prefix Split: new pane beside
- [gw] / \| [gw] Split below / beside
x, or Alt+Escape no prefix Close the pane. [gw] asks first.
z [def] Zoom the pane
O [gw] Set the pane title
S [gw] Type into all panes at once (on/off)

Windows

Keys Action
Alt+1…9 no prefix Go to window N
Alt+← / Alt+→ no prefix Previous / next window
Alt+Shift+← / → no prefix Move the window left / right
c New window in the current folder
r (or ,) Rename the window
k Close the window. [gw] asks first.
< / > [gw] Move the window left / right (repeatable)

Sessions

Keys Action
Alt+↑ / Alt+↓ no prefix Previous / next session
P / N Previous / next session
C New session
R (or $) Rename the session
K Close the session. [gw] asks first.
T [gw] Session switcher (sesh + fzf)
s / w [def] Session / window tree
d [def] Detach

Copy mode (vi keys)

Keys Action
[ [def] Enter copy mode
v → y copy mode Start selecting → copy and exit
Ctrl+v copy mode [gw] Rectangle selection
Y [gw] Copy the last command and its output
Ctrl+y [gw] Copy the pane's folder path

Help and extras

Keys Action
? Key list. Stock Omarchy opens it in a popup; custom dotfiles uses tmux's own list.
q Reload the config
g [gw] lazygit in a popup
F / G [gw] Repo picker / lazygit for every repo with uncommitted changes
Ctrl+k [gw] Clear the screen and the scrollback

3. Herdr

These are the pane, tab, and workspace versions of the tmux keys above.

Keys Action
Ctrl+Alt+arrows / Ctrl+Alt+Shift+arrows no prefix Focus / resize the pane
h ([gw] -), or Alt+Return no prefix Split: new pane below
v ([gw] \|), or Alt+Shift+Return no prefix Split: new pane beside
x, or Alt+Escape no prefix Close the pane
z / ; Zoom / jump to the last pane
Alt+1…9 / Alt+←/→ no prefix Go to tab N / previous or next tab
Alt+Shift+←/→ no prefix Move the tab
c / r / k New / rename / close the tab
P / N, or Alt+↑/↓ no prefix Previous / next workspace
C / R / K New / rename / close the workspace
s [gw] / T [gw] Workspace picker / go to
[ / d / q / ? Copy mode / detach / reload config / help
g [gw] · S [gw] lazygit popup · settings

4. Practice this week

These span all three tools, so each combo is written out in full.

  1. Super+arrows and Super+Shift+arrows: focus and swap windows
  2. Super+1…4 and Super+Shift+1…4: switch workspaces and send windows to them
  3. Super+Return, Super+Space, Super+W: open a terminal, open the menu, close a window
  4. Super+F / Super+T: fullscreen and float
  5. Alt+Return / Alt+Shift+Return: split a tmux pane below / beside
  6. Ctrl+Alt+arrows (and Alt+h/j/k/l inside Neovim): move between panes
  7. Alt+1…9, Alt+←/→, Alt+↑/↓: tmux windows and sessions
  8. Ctrl+Space, then z / [ / ?: zoom, copy mode, help