tmux new [-s name] [cmd](:new) - new session
tmux ls(:ls) - list sessionstmux switch [-t name](:switch) - switches to an existing sessiontmux as [id] [-t name](:attach) - attaches to an existing session<C-a>c(:detach) - detach the currently attached session
<C-a>s- list sessions<C-a>$- name session
tmux kill-session [-t name](:kill-session)
<C-a>c(:neww [-n name] [cmd]) - new window
<C-a>[i](:selectw -t [i]) - go to window[i]<C-a>l- go to last window<C-a>p- go to previous window<C-a>n- go to next window
<C-a>T- rename window<C-a>,- rename window<C-a>w- list all windows<C-a>f- find window by name<C-a>&(:kill-window) - kill window<C-a>.- move window to another session (promt):movew- move window to next unused number
- (%)
<C-a>|(:splitw [-v] [-p width] [-t focus] [cmd]) - split current pane vertically - (")
<C-a>s(:splitw -h [-p width] [-t focus] [cmd]) - split current pane horizontally
- (o)
<C-a><Tab>(:selectp -t :.+) - move cursor to the next pane <C-a><Up>(:selectp -U) - move cursor to the pane above<C-a><Down>(:selectp -D) - move cursor to the pane below<C-a><Left>(:selectp -L) - move cursor to the pane to the left<C-a><Right>(:selectp -R) - move cursor to the pane to the right:selectp [i]- move cursor to the pane[i]
- (
:swap-pane -U) - move current pane up - (
:swap-pane -D) - move current pane down <C-a>{(:swap-pane -L) - move current pane to the left<C-a>}(:swap-pane -R) - move current pane to the right<C-a>q- show pane numbers (type number to move cursor)<C-a><Space>- toggle pane arrangements
:resize-pane -U [i]- move horizontal divider up by[i]lines:resize-pane -D [i]- move horizontal divider down by[i]lines:resize-pane -L [i]- move vertical divider left by[i]columns:resize-pane -R [i]- move vertical divider right by[i]columns
resize-pane [-DLRUZ] [-x width] [-y height] [-t target-pane] [adjustment]
<C-a>x(:kill-pane) - kill current pane
<C-a>t- show time<C-a>r- reload config
:tabnew- new blank tab:tabedit [file]- open file in tab
gt(:tabn) - next tabgT(:tabp) - previous tab[i]gt- go to tab[i]
:tabs- list open tabs:tabm 0- move current tab to first position:tabm- move current tab to last position:tabm [i]- move current tab to position[i]
:tabc- close current tab:tabo- close all other tabs
<C-w>n(:new) - new horizontal split<C-w>s(:split) - split window horizontaly<C-w>v(:vsplit) - split window verticaly
<C-w>w- next split<C-w>p- previous split<C-w><Up>- move above<C-w><Down>- move bellow<C-w><Left>- move left<C-w><Right>- move right
<C-w>r- rotate to the right<C-w>H- move to the left<C-w>J- move to the bottom<C-w>K- move to the top<C-w>L- move to the right<C-w>T- (:tab split) move split to new tab
<C-w>p +- increase height<C-w>p -- decrease height<C-w>p <- increase width<C-w>p >- decrease width
<C-w>c(:close) - close split<C-w>q(:q) - close split and quit file<C-w>o(:only) - close all other splits


This is awesome! A friend share this sheet when I shared "zoom pane" with our group. https://sanctum.geek.nz/arabesque/zooming-tmux-panes/
Spoilers: in a pane ->
<prefix>+z