Sunday, 24 August 2025

tmux

tmux - terminal multiplexer

ctrl + b prefix key
 - prefix key followed by % will split pane vertically 
 - prefix key followed by " will split pane horizontally
 - prefix key followed by arrow key will allow to move between panes
 - prefix key followed by [ will allow to scroll with up/down & page up/down keys
 - prefix key followed by x will kill the active pane

Resize pane using the resize-pane command:
 - Press your tmux prefix key (default is Ctrl + B).
 
- D to resize downwards.
 - Press the colon key (:). This opens a command prompt at the bottom of your screen.
 - Type resize-pane followed by a direction and an optional number of cells to resize by.
    - U to resize upwards.
       
- L to resize left.
    - R to resize right.
Example: resize-pane -D 5 will resize the current pane downwards by 5 cells. 

TermRecord

TermRecord is a simple terminal session recorder with easy-to-share self-contained HTML output! TermRecord -o /tmp/session.html