Show Menu
Cheatography

MacOS Keyboard Shortcuts (DRAFT) by

My MacOS shortcuts for tmux, yabai and neovim

This is a draft cheat sheet. It is a work in progress and is not finished yet.

tmux General

start tmux
tmux
default prefix
⌃b
list bindings
⌃b ?

tmux Session

list
tmux ls
attach
tmux a
detach current
⌃b d

tmux Window

new
⌃b c
close
⌃b x
rename
⌃b ,
list all
⌃b w
jump to
⌃b 1-9

yabai General

open terminal
⌘return
restart yabai
⌥r
balance size of windows
⇧⌥0
floating window fill screen
⇧⌥↑
floating window fill left-half of screen
⇧⌥←
floating window fill right-half of screen
⇧⌥→
rotate tree
⌥r
mirror tree y-axis
⌥y
mirror tree x-axis
⌥x
 

tmux Pane

list bindings
⌃b ?
split vertically
⌃b _
split horizo­ntally
⌃b -
next
⌃b o
previous
⌃b ;
show pane number
⌃b q
swap pane location
⌃b ⌃o
move pane left
⌃b {
move pane right
⌃b }
navigate
⌃b arrow key
resize
⌃b ⌃arrow key
change layout
⌃b space
kill current
⌃b !
zoom (in/out)
⌃b z

yabai Window

focus west
⌥h
focus south
⌥j
focus north
⌥k
focus east
⌥l
swap west
⇧⌥h
swap south
⇧⌥j
swap north
⇧⌥k
swap east
⇧⌥l
move west
⇧⌘h
move south
⇧⌘j
move north
⇧⌘k
move east
⇧⌘l
toggle fullscreen zoom
⌥f
toggle native fullscreen
⇧⌥f
toggle split type
⌥e
 

tmux Scroll and Clipboard

start
⌃b [
exit
q
search up (reverse)
⌃r
search down
⌃s
search next
n
start selection
⌃space
copy selection and exit
⌃w
start of line
⌃a
end of line
⌃e
top
⌥<
bottom
⌥>
goto line
g
next word
⌥f
previous word
⌥b
list copied buffers
⌃b =
paste
⌃b ]

yabai Monitor

focus previous
⌃⌥x
focus next
⌃⌥z
focus 1
⌃⌥1
focus 2
⌃⌥2
send window focus previous
⇧⌥x
send window focus next
⇧⌥z
send window focus 1
⇧⌥1
send window focus 2
⇧⌥2