Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert Sass stylesheets from the old colon syntax (colons in front of selector) to the new syntax (colons behind the selector), because it looks more like English. http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html
:%s/\v(\s+)(\&:)@!:(\w*-*\w*)/\1\3:/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.