im trying to copy 300 lines from one file to another,
in source file i type “300yy”, it says it has yanked 300 lines.
go to destination file and press p,
it pastes, but only the first 50 lines.
any idea why it isn’t pasting the 300?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To see the current settings during a vim session, run:
As suggested in Vim Tips Wiki, you can adjust the
viminfosetting (again, during a vim session) by running the ex-command:or you can remove the
:and set it as default in your.vimrcas:What the individual parts mean:
'100Marks will be remembered for the last 100 edited files.<1000Limits the number of lines saved for each register to 1000 lines; if a register contains more than 1000 lines, only the first 1000 lines are saved.s100Registers with more than 100 KB of text are skipped.hDisables search highlighting when Vim starts.