tmux stuff - naughtont3/techbits GitHub Wiki
TMUX Notes
-
Capture/Save scroll buffer to a file
-
- Capture using
ctrl-b
+:
, then typecapture-pane -S -3000
, andreturn
(where-2000
is how much to save)
- Capture using
-
- Save using
ctrl-b
+:
, then typesave-buffer filename.txt
, andreturn
- Save using
-
NOTE: It seems that the default buffer size is
2000
, so may need to edit.tmux.conf
and sethistory-limit
to something larger if you want more scroll back buffer. (Example addition for.tmux.conf
:set-option -g history-limit 3000
) -
References:
-