===== tmux cheatsheet ===== == copy and paste == * '' ['': start copy * use ''h j k l'' to move * use ''V'' or ''v'' to start select * use ''r'' to toggle rectangle selection * ''Enter'' or ''y'' to copy * '' ]'' to paste == window == * '' w'': choose from list * '' f'': search for window * ''%'': split side by side * ''"'': up and down == pane == * '' z'': zoom and unzoom pane * '' h'': expanse to left by 88 * '' l'': expanse to right by 88 * '' o'': last pane == switch session == * '' ('': prev session * '' )'': next session * '' L'': last session * '' s'': choose session == Choosing a prefix == Currently using c-q, doesn't seem to collide with others. ** Bad options ** * c-a: obvious breaks emacs and bash in emacs mode * c-b: breaks vim (page up) and less * c-o: breaks vim again (go to old position) ** Other options ** * c-space * c-\ * c-` == layouts == [[https://leanpub.com/the-tao-of-tmux/read#window-layouts|available layouts]], switch layouts with '' [space]'': {{:cli:tmux-layouts.png?400|}}