How do you yank the entire file contents into a register?
gg"aVGy
Go to the first line with gg, then visually select from there to the last line with VG, and yank into register a.
gg"aVGy
Go to the first line with gg, then visually select from there to the last line with VG, and yank into register a.