I have a file of about 9000 lines of python code in Linux server. I'm connecting to that via Putty. And to make some changes and improve the code I'm trying to copy that into my local machine as the ssh is quite laggy, But I am unable to copy the entire contents.
NOTE: I do not have +clipboard on this version of vim and I do not have permission to install any new packages.
I've tried all the possible combinations that are available in StackOverflow history. And none of them seems to work, as all seem to point to a solution where we need some or the other package installed or need +clipboard
I can cat and copy short functions into my pc via Putty but copying the entire file of 9000 lines is difficult.
Is there any way I can copy the entire file into the clipboard of Putty and paste them in my Windows local machine. ?
Solutions I've tried so far:
EDIT: I can increase the lines of scroll back and cat entire file into console. From here is there any way I can copy them instead of scrolling all the way up ?