Use:
:%y" (alternatively: ggyG)
:@"
It will copy whole buffer into default register and then run it.
See :help :y
and :help :@
(and also :help range
maybe).
Use:
:%y" (alternatively: ggyG)
:@"
It will copy whole buffer into default register and then run it.
See :help :y
and :help :@
(and also :help range
maybe).