DEV Community

Discussion on: How I Write Blog Posts These Days

Collapse
 
gypsydave5 profile image
David Wickes

Could you say more about what :%y+ does?

SURE!

  • : - start command mode
  • % - with the whole buffer...
  • y - yank it to...
  • + - the register called +.

The register + is the system clipboard.

Collapse
 
micahriggan profile image
Micah Riggan

Thanks for the explanation! Registers are on of the vim things I haven't fully incorporated into my workflow