Increase yank buffer size of your vi editor
If you think that your vi editor's yank buffer size is not enough, you can increase it with the following vi command. :set v iminf o='1000,h This command will increase the buffer size to 1000 lines. .