yank more than 50 lines in vim

You can use this while vim is running with :set viminfo='100,h, or you can append the line to your ~/.vimrc:

set viminfo='100,h

References