Skip to content

Instantly share code, notes, and snippets.

@richardTowers
Last active February 8, 2018 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardTowers/822d1ca87ef93b252c8c438d5d16d3f9 to your computer and use it in GitHub Desktop.
Save richardTowers/822d1ca87ef93b252c8c438d5d16d3f9 to your computer and use it in GitHub Desktop.
A vim macro to expand a name into a Co-authored-by line
# Usage: IRichard Towers<ESC>@a
# Result: Co-authored-by: Richard Towers <richard.towers[at]digital.cabinet-office.gov.uk>
let @a='ICo-authored-by: ly$A <@digital.cabinet-office.gov.uk>F@Pva<guf r.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment