I am trying to copy a long text around 350 lines. But i can select only 15-20 lines that are currently visible in terminal and i cannot scroll down once i select copy mode inside tmux. here are the steps
Use cat
command.
Example:
cat example.cfg
With the output of that command you can select with your mouse all the content you want instead of going every 30 lines to do it.
Then you can connect to your other server and just paste it into the new file.