Skip to content

Instantly share code, notes, and snippets.

@kristoferjoseph
Created December 17, 2013 08:31
Show Gist options
  • Save kristoferjoseph/8001803 to your computer and use it in GitHub Desktop.
Save kristoferjoseph/8001803 to your computer and use it in GitHub Desktop.
vim substitution for CSS variable spec variables
%s/var-\([a-z-]*[__a-z]*[--a-z][^;]\+\)/var(\1)/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment