Ctrl+B [
to enter select mode- move cursor
Ctrl Space
to start select- move cursor to set select area
Alt+W
orCtrl+W
to copy areaCtrl+B ]
to paste
you can generate encoded string by pasting buffer here:
read rows cols < <(stty size $(tty))
bzip2 -c | openssl base64 -e | tr -d '\n' | fold -w $(($cols-2))
(bzip2
is optional)
you can restore the buffer by this command:
openssl base64 -d | bzip2 -d -c