On Wed, 06 Apr 2016 18:45:57 -0500, Joshua Haase wrote: > Marc André Tanner <m...@brain-dump.org> writes: > > you do not have to prefix your sam command with `ggvG` because > > in normal mode it will by default be applied to the whole file. > > Or you could use `:,` to mean the whole file (i. e. `:,y/\n/i/FOO`).
Or use `:%` instead because `%` already means the whole file in Vim.