Skip to content

Instantly share code, notes, and snippets.

@lopesivan
lopesivan / record.md
Created September 15, 2017 04:48
Record tmux session

If you want to record your fancy tmux session with all windows and splits recorded you can do it in the following way:

  • setup your tmux session (tmux new -s session-name, create windows, splits, start processes in them)
  • detach (prefix+d)
  • run asciinema rec -c "tmux attach -t session-name"
  • when you're finished, just detach the session again