loading...

Discussion on: How I Write Blog Posts These Days

Collapse
micahriggan profile image
Micah Riggan

Very cool! I'm also blogging with vim + github. Made an MR on your githubs for some links on your main readme that weren't working for me

I've been trying out 100% markdown with the github static pages and then copy and pasting to dev.to.

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

I've been :!pbcopy on my mac to copy out, but I have a feeling your thing does that too, without clearing all the text?

Collapse
gypsydave5 profile image
David Wickes Author

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